Class ScopeInfo
- java.lang.Object
-
- org.glassfish.hk2.utilities.reflection.ScopeInfo
-
public class ScopeInfo extends Object
Data structure concerning scope annotations- Author:
- jwells
-
-
Constructor Summary
Constructors Constructor Description ScopeInfo(Annotation scope, Class<? extends Annotation> annoType)
Constructor of the data structure concerning the scope annotation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>
getAnnoType()
Returns the annotation class for this annotation typeAnnotation
getScope()
Returns the scope for this data structure
-
-
-
Constructor Detail
-
ScopeInfo
public ScopeInfo(Annotation scope, Class<? extends Annotation> annoType)
Constructor of the data structure concerning the scope annotation- Parameters:
scope
- The scope annotationannoType
- The type of annotation
-
-
Method Detail
-
getScope
public Annotation getScope()
Returns the scope for this data structure- Returns:
- The non-null scope for this data structure
-
getAnnoType
public Class<? extends Annotation> getAnnoType()
Returns the annotation class for this annotation type- Returns:
- the annotation type for this scope
-
-