Interface AnnotationAccess

    • Method Detail

      • getClassAnnotationProvider

        AnnotationProvider getClassAnnotationProvider()
        Returns a provider for annotations on the service class and interface. This will reflect annotations defined by the implementation class itself, plus annotations defined by the service interface (implementation class annotations take precedence).
        Returns:
        an AnnotationProvider instance.
      • getMethodAnnotationProvider

        AnnotationProvider getMethodAnnotationProvider​(String methodName,
                                                       Class... parameterTypes)
        Returns a provider for annotations of a method of the class. This includes annotations on the implementation method, plus annotations on the corresponding service interface method (if such a method exists), with precedence on the implementation class method annotations.
        Parameters:
        methodName - the name of the method.
        parameterTypes - the types of the parameters of the method.
        Returns:
        an AnnotationProvider instance. *