public class ScopeInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<? extends java.lang.annotation.Annotation> |
annoType |
private java.lang.annotation.Annotation |
scope |
| Constructor and 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
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnoType()
Returns the annotation class for this annotation type
|
java.lang.annotation.Annotation |
getScope()
Returns the scope for this data structure
|
private final java.lang.annotation.Annotation scope
private final java.lang.Class<? extends java.lang.annotation.Annotation> annoType
public ScopeInfo(java.lang.annotation.Annotation scope,
java.lang.Class<? extends java.lang.annotation.Annotation> annoType)
scope - The scope annotationannoType - The type of annotationpublic java.lang.annotation.Annotation getScope()
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnoType()