I was wondering how I could get the values of the indices that refer to a specific var in a bidim array. I want to intercept any attempt to set on someStrings (below), find out which String you are trying to modify and do something at that point.
public class SomeClass {
private String[][] someStrings;
...
}
public Debug implements Interceptor {
public String getName() {...}
public Object invoke(Invocation invocation) throws Throwable {
// find out which String in someStrings is being accessed
}
}
Thanks,
Frank