Class InjectLiteral

java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<Inject>
jakarta.enterprise.inject.literal.InjectLiteral
All Implemented Interfaces:
Annotation

public final class InjectLiteral extends AnnotationLiteral<Inject> implements Inject
Supports inline instantiation of the Inject annotation.
Since:
2.0
Author:
Martin Kouba
See Also:
  • Field Details

    • INSTANCE

      public static final InjectLiteral INSTANCE
      Default Inject literal
  • Constructor Details

    • InjectLiteral

      public InjectLiteral()