Package org.kohsuke.stapler.lang.util
Class FieldRefFilter
java.lang.Object
org.kohsuke.stapler.lang.AnnotatedRef
org.kohsuke.stapler.lang.FieldRef
org.kohsuke.stapler.lang.util.FieldRefFilter
FieldRef filter as a convenience class.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.stapler.lang.FieldRef
FieldRef.Filter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the value of the field of the instance.<T extends Annotation>
TgetAnnotation(Class<T> type) protected abstract FieldRefgetBase()getName()Name of the method.Gets a fully qualified name of this field that includes the declaring type.booleanhasAnnotation(Class<? extends Annotation> type) booleanReturns true if this method is a 'public' method that should be used for routing requests.booleanisStatic()Whether the field is static.static FieldRefMethods inherited from class org.kohsuke.stapler.lang.FieldRef
getReturnType, getSignature
-
Constructor Details
-
FieldRefFilter
public FieldRefFilter()
-
-
Method Details
-
getBase
-
getName
Description copied from class:FieldRefName of the method. -
get
Description copied from class:FieldRefObtains the value of the field of the instance.- Specified by:
getin classFieldRef- Throws:
IllegalAccessException
-
isStatic
public boolean isStatic()Description copied from class:FieldRefWhether the field is static. -
getQualifiedName
Description copied from class:FieldRefGets a fully qualified name of this field that includes the declaring type.- Specified by:
getQualifiedNamein classFieldRef
-
isRoutable
public boolean isRoutable()Description copied from class:FieldRefReturns true if this method is a 'public' method that should be used for routing requests.- Overrides:
isRoutablein classFieldRef
-
wrap
-
getAnnotation
- Specified by:
getAnnotationin classAnnotatedRef
-
hasAnnotation
- Overrides:
hasAnnotationin classAnnotatedRef
-