Class CodeField


  • public final class CodeField
    extends java.lang.Object
    Wrap up details about a field in a Java class file.

    Instances of this type will be instantiated by CodeClass instances, using the getField() methods.

    Author:
    Thomas Down, Matthew Pocock
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name of the field.
        Returns:
        the name of the field
      • getFullName

        public java.lang.String getFullName()
        Get the fully qualified name of the field.
        Returns:
        the fully qualified name
      • getContainingClass

        public CodeClass getContainingClass()
        Get the class that contains this field.
        Returns:
        the containing class
      • getType

        public CodeClass getType()
        Get the type of the field.
        Returns:
      • getModifiers

        public int getModifiers()
        Get the moddifiers applied to this field.
        Returns:
        the modifiers
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object