Class AbstractInlineAnnotationReaderImpl<T,​C,​F,​M>

    • Constructor Detail

      • AbstractInlineAnnotationReaderImpl

        public AbstractInlineAnnotationReaderImpl()
    • Method Detail

      • setErrorHandler

        public void setErrorHandler​(ErrorHandler errorHandler)
        Description copied from interface: AnnotationReader
        Sets the error handler that receives errors found during reading annotations.
        Specified by:
        setErrorHandler in interface AnnotationReader<T,​C,​F,​M>
        Parameters:
        errorHandler - must not be null.
      • getMethodAnnotation

        public final <A extends java.lang.annotation.Annotation> A getMethodAnnotation​(java.lang.Class<A> annotation,
                                                                                       M getter,
                                                                                       M setter,
                                                                                       Locatable srcPos)
        Description copied from interface: AnnotationReader
        Reads an annotation on a property that consists of a getter and a setter.
        Specified by:
        getMethodAnnotation in interface AnnotationReader<T,​C,​F,​M>
      • hasMethodAnnotation

        public boolean hasMethodAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                                           java.lang.String propertyName,
                                           M getter,
                                           M setter,
                                           Locatable srcPos)
        Description copied from interface: AnnotationReader
        Checks if the given method has an annotation.
        Specified by:
        hasMethodAnnotation in interface AnnotationReader<T,​C,​F,​M>
      • fullName

        protected abstract java.lang.String fullName​(M m)
        Gets the fully-qualified name of the method. Used for error messages.