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 ; }
Create an XField object from a BCEL Field .