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