if(field==null){
XClass xClass = vm.getClassProvider().getXClass(className);
field = xClass.getField(fieldName);
XChecks.checkAccess(methodExecutor.getMethod().getDeclaringClass(), field);
if(!field.getType().equals(fieldType)){
throw new XRuntimeException("Type of field %s has changed", field);
}
if(XModifier.isStatic(field.getModifier())){
throw new XRuntimeException("Field %s is static", field);
}
}
}