Class RuntimeFieldInfo

  • All Implemented Interfaces:
    java.lang.reflect.AnnotatedElement

    final class RuntimeFieldInfo
    extends FieldInfo
    • Field Detail

      • _rawField

        private final java.lang.reflect.Field _rawField
      • _declaringType

        private final Type<?> _declaringType
      • _modifiers

        private final int _modifiers
      • _bindingFlags

        private final java.util.Set<BindingFlags> _bindingFlags
      • _fieldType

        private final Type<?> _fieldType
    • Constructor Detail

      • RuntimeFieldInfo

        RuntimeFieldInfo​(java.lang.reflect.Field rawField,
                         Type<?> declaringType,
                         RuntimeTypeCache<?> reflectedTypeCache,
                         int modifiers,
                         java.util.Set<BindingFlags> bindingFlags,
                         Type<?> fieldType)
    • Method Detail

      • getBindingFlags

        java.util.Set<BindingFlags> getBindingFlags()
      • getRawField

        public java.lang.reflect.Field getRawField()
        Specified by:
        getRawField in class FieldInfo
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class MemberInfo
      • getAnnotation

        public <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationClass)
        Specified by:
        getAnnotation in interface java.lang.reflect.AnnotatedElement
        Overrides:
        getAnnotation in class FieldInfo
      • getAnnotations

        @NotNull
        public java.lang.annotation.Annotation[] getAnnotations()
        Specified by:
        getAnnotations in interface java.lang.reflect.AnnotatedElement
        Overrides:
        getAnnotations in class FieldInfo
      • getDeclaredAnnotations

        @NotNull
        public java.lang.annotation.Annotation[] getDeclaredAnnotations()
        Specified by:
        getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement
        Overrides:
        getDeclaredAnnotations in class FieldInfo
      • isAnnotationPresent

        public boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
        Specified by:
        isAnnotationPresent in interface java.lang.reflect.AnnotatedElement
        Overrides:
        isAnnotationPresent in class FieldInfo