FieldDescriptorImpl (NodeDescriptor parent, ObjectReference objRef, Field field) { final DescriptorData<FieldDescriptorImpl> descriptorData; if (objRef == null) { if (!field.isStatic()) { LOG.error("Object reference is null for non-static field: " + field); } descriptorData = new StaticFieldData(field); } else { descriptorData = new FieldData(objRef, field); } return getDescriptor(parent, descriptorData); }