Package jakarta.enterprise.inject
Class Typed.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
Typed
Supports inline instantiation of the
Typed
annotation.- Since:
- 2.0
- Author:
- Martin Kouba
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.enterprise.inject.Typed
Typed.Literal
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Typed.Literal
Obtain the Typed literal for the provided bean typesClass<?>[]
value()
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Field Details
-
INSTANCE
Default Typed literal
-
-
Method Details
-
of
Obtain the Typed literal for the provided bean types- Parameters:
value
- the classes corresponding to the bean types of the bean- Returns:
- a new Literal value for the provided classes
-
value
- Returns:
- the classes corresponding to the bean types of the bean
-