Class Reference.Literal

  • All Implemented Interfaces:
    java.lang.annotation.Annotation
    Enclosing class:
    Reference

    public static final class Reference.Literal
    extends javax.enterprise.util.AnnotationLiteral<Reference>
    implements Reference
    Support inline instantiation of the Reference annotation.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Reference.Literal of​(java.lang.Class<?> service, java.lang.String target)  
      java.lang.String target()  
      java.lang.Class<?> value()  
      • Methods inherited from class javax.enterprise.util.AnnotationLiteral

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
    • Method Detail

      • of

        public static final Reference.Literal of​(java.lang.Class<?> service,
                                                 java.lang.String target)
        Parameters:
        service -
        target -
        Returns:
        instance of Reference
      • value

        public java.lang.Class<?> value()
      • target

        public java.lang.String target()