Class ResolvedField


  • public class ResolvedField
    extends Object
    A resolved field reference paired with the class that actually declares it.
    • Constructor Detail

      • ResolvedField

        public ResolvedField​(FieldEntry field,
                             ClassFile declaringClass)
        Creates a resolved field.
        Parameters:
        field - the matched field entry
        declaringClass - the class that declares it
    • Method Detail

      • getField

        public FieldEntry getField()
        Returns:
        the field
      • getDeclaringClass

        public ClassFile getDeclaringClass()
        Returns:
        the declaring class
      • isStatic

        public boolean isStatic()
        Returns:
        true if the field has the static modifier