private boolean calledByInvocationClass(FieldAccess fieldAccess) { try { return isInvocationClass(fieldAccess.where().getDeclaringClass()); } catch (RuntimeException e) { //This means it is one of the access$xxx methods, //This occurs when the field access is from one of the invocation classes, which we want to skip return true; } }