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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.Object target)
      Attempts to retrieve the value of this field on target
      <T extends java.lang.annotation.Annotation>
      T
      getAnnotation​(java.lang.Class<T> annotationType)
      Returns the annotation on the model element of the given type, or @code{null}
      java.lang.annotation.Annotation[] getAnnotations()
      Returns the model elements' annotations.
      java.lang.Class<?> getDeclaringClass()  
      java.lang.reflect.Field getField()  
      protected int getModifiers()  
      java.lang.String getName()  
      java.lang.Class<?> getType()  
      boolean isShadowedBy​(FrameworkField otherMember)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • field

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

      • FrameworkField

        FrameworkField​(java.lang.reflect.Field field)
    • 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