Class FrameworkField

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.reflect.Field field  
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameworkField​(java.lang.reflect.Field field)
      Returns a new FrameworkField for field.
    • Field Detail

      • field

        private final java.lang.reflect.Field field
    • Constructor Detail

      • FrameworkField

        public FrameworkField​(java.lang.reflect.Field field)
        Returns a new FrameworkField for field.

        Access relaxed to public since version 4.13.1.

    • Method Detail

      • getAnnotations

        public java.lang.annotation.Annotation[] getAnnotations()
        Description copied from interface: Annotatable
        Returns the model elements' annotations.
      • getAnnotation

        public <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationType)
        Description copied from interface: Annotatable
        Returns the annotation on the model element of the given type, or @code{null}
      • getField

        public java.lang.reflect.Field getField()
        Returns:
        the underlying java Field
      • get

        public java.lang.Object get​(java.lang.Object target)
                             throws java.lang.IllegalArgumentException,
                                    java.lang.IllegalAccessException
        Attempts to retrieve the value of this field on target
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
      • toString

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