Class FieldRef

java.lang.Object
org.kohsuke.stapler.lang.AnnotatedRef
org.kohsuke.stapler.lang.FieldRef
Direct Known Subclasses:
FieldRefFilter

public abstract class FieldRef extends AnnotatedRef
Fields of Klass.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • FieldRef

      public FieldRef()
  • Method Details

    • getName

      public abstract String getName()
      Name of the method.
      See Also:
    • isStatic

      public abstract boolean isStatic()
      Whether the field is static.
    • get

      public abstract Object get(Object instance) throws IllegalAccessException
      Obtains the value of the field of the instance.
      Throws:
      IllegalAccessException
    • getQualifiedName

      public abstract String getQualifiedName()
      Gets a fully qualified name of this field that includes the declaring type.
    • getSignature

      public abstract String getSignature()
      Gets the signature for this for use in lists
      See Also:
    • getReturnType

      public abstract Class<?> getReturnType()
    • isRoutable

      public boolean isRoutable()
      Returns true if this method is a 'public' method that should be used for routing requests.
    • wrap

      public static FieldRef wrap(Field f)