XField xfield = isStatic ? (XField) new StaticField(className, fieldName, fieldSig) : (XField) new InstanceField(className, fieldName, fieldSig);  if (isValidAccessMethod(methodSig, xfield, isLoad)) access = new InnerClassAccess(methodName, methodSig, xfield, isLoad);
try { XField xfield = Lookup.findXField(className, fieldName, fieldSig); if (xfield != null && xfield.isStatic() == isStatic && isValidAccessMethod(methodSig, xfield, isLoad)) access = new InnerClassAccess(methodName, methodSig, xfield, isLoad); } catch (ClassNotFoundException e) { throw new LookupFailure(e); }
		private void setField(int cpIndex, boolean isStatic, boolean isLoad) {			// We only allow one field access for an accessor method.			accessCount++;			if (accessCount != 1) {				access = null;				return;			}			ConstantPool cp = javaClass.getConstantPool();			ConstantFieldref fieldref = (ConstantFieldref) cp.getConstant(cpIndex);			ConstantClass cls = (ConstantClass) cp.getConstant(fieldref.getClassIndex());			String className = cls.getBytes(cp);			ConstantNameAndType nameAndType = (ConstantNameAndType) cp.getConstant(fieldref.getNameAndTypeIndex());			String fieldName = nameAndType.getName(cp);			String fieldSig = nameAndType.getSignature(cp);			XField xfield = isStatic				? (XField) new StaticField(className, fieldName, fieldSig)				: (XField) new InstanceField(className, fieldName, fieldSig);			if (isValidAccessMethod(methodSig, xfield, isLoad))				access = new InnerClassAccess(methodName, methodSig, xfield, isLoad);		}