public static XField createXField(JavaClass javaClass, Field field) { String className = javaClass.getClassName(); String fieldName = field.getName(); String fieldSig = field.getSignature(); int accessFlags = field.getAccessFlags(); if (field.isStatic()) return new StaticField(className, fieldName, fieldSig, accessFlags);
public static XField createXField(String className, String fieldName, String fieldSignature, boolean isStatic, int accessFlags) {  if (isStatic) return new StaticField(className, fieldName, fieldSignature, accessFlags);
	public static XField createXField(JavaClass javaClass, Field field) {		String className = javaClass.getClassName();		String fieldName = field.getName();		String fieldSig = field.getSignature();		int accessFlags = field.getAccessFlags();		if (field.isStatic())			return new StaticField(className, fieldName, fieldSig, accessFlags);		else			return new InstanceField(className, fieldName, fieldSig, accessFlags);	}