Class ScopeInfo
java.lang.Object
org.glassfish.hk2.utilities.reflection.ScopeInfo
Data structure concerning scope annotations
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class
<? extends Annotation> private final Annotation
-
Constructor Summary
ConstructorsConstructorDescriptionScopeInfo
(Annotation scope, Class<? extends Annotation> annoType) Constructor of the data structure concerning the scope annotation -
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends Annotation> Returns the annotation class for this annotation typegetScope()
Returns the scope for this data structure
-
Field Details
-
scope
-
annoType
-
-
Constructor Details
-
ScopeInfo
Constructor of the data structure concerning the scope annotation- Parameters:
scope
- The scope annotationannoType
- The type of annotation
-
-
Method Details
-
getScope
Returns the scope for this data structure- Returns:
- The non-null scope for this data structure
-
getAnnoType
Returns the annotation class for this annotation type- Returns:
- the annotation type for this scope
-