code: public static XField createXField(String className, Field field) {
          String fieldName = field.getName();
          String fieldSig = field.getSignature();
  
          XField xfield = getExactXField(className, fieldName, fieldSig, field.isStatic());
          assert xfield.isResolved() : "Could not exactly resolve " + xfield;
          return xfield;
      }
docs: Create an XField object from a BCEL Field.
  
  @param className
  the name of the Java class containing the field
  @param field
  the Field within the JavaClass
  @return the created XField