Class Advice.AssignReturned.Handler.Factory.Simple<S extends java.lang.annotation.Annotation>

    • Field Detail

      • type

        private final java.lang.Class<S extends java.lang.annotation.Annotation> type
        The annotation type that activates this handler factory.
    • Constructor Detail

      • Simple

        public Simple​(java.lang.Class<S> type,
                      java.util.List<Advice.AssignReturned.Handler> handlers)
        Creates a new simple handler.
        Parameters:
        type - The annotation type that activates this handler factory.
        handlers - The handlers this factory should return.
    • Method Detail

      • getAnnotationType

        public java.lang.Class<S> getAnnotationType()
        Returns the annotation type that activates this handler factory.
        Specified by:
        getAnnotationType in interface Advice.AssignReturned.Handler.Factory<S extends java.lang.annotation.Annotation>
        Returns:
        The annotation type that activates this handler factory.