Class RuntimeInlineAnnotationReader

    • Constructor Detail

      • RuntimeInlineAnnotationReader

        public RuntimeInlineAnnotationReader()
        Default constructor.
    • Method Detail

      • getFieldAnnotation

        public <A extends Annotation> A getFieldAnnotation​(Class<A> annotation,
                                                           Field field,
                                                           org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getFieldAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • hasFieldAnnotation

        public boolean hasFieldAnnotation​(Class<? extends Annotation> annotationType,
                                          Field field)
        Specified by:
        hasFieldAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • hasClassAnnotation

        public boolean hasClassAnnotation​(Class clazz,
                                          Class<? extends Annotation> annotationType)
        Specified by:
        hasClassAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getAllFieldAnnotations

        public Annotation[] getAllFieldAnnotations​(Field field,
                                                   org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getAllFieldAnnotations in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getMethodAnnotation

        public <A extends Annotation> A getMethodAnnotation​(Class<A> annotation,
                                                            Method method,
                                                            org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getMethodAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • hasMethodAnnotation

        public boolean hasMethodAnnotation​(Class<? extends Annotation> annotation,
                                           Method method)
        Specified by:
        hasMethodAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getAllMethodAnnotations

        public Annotation[] getAllMethodAnnotations​(Method method,
                                                    org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getAllMethodAnnotations in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getMethodParameterAnnotation

        public <A extends Annotation> A getMethodParameterAnnotation​(Class<A> annotation,
                                                                     Method method,
                                                                     int paramIndex,
                                                                     org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getMethodParameterAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getClassAnnotation

        public <A extends Annotation> A getClassAnnotation​(Class<A> a,
                                                           Class clazz,
                                                           org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getClassAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getPackageAnnotation

        public <A extends Annotation> A getPackageAnnotation​(Class<A> a,
                                                             Class clazz,
                                                             org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
        Specified by:
        getPackageAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getClassValue

        public Class getClassValue​(Annotation a,
                                   String name)
        Specified by:
        getClassValue in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>
      • getClassArrayValue

        public Class[] getClassArrayValue​(Annotation a,
                                          String name)
        Specified by:
        getClassArrayValue in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,​Class,​Field,​Method>