public class ScopeInfo extends Object
Constructor and Description |
---|
ScopeInfo(Annotation scope,
Class<? extends Annotation> annoType)
Constructor of the data structure concerning the scope annotation
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
getAnnoType()
Returns the annotation class for this annotation type
|
Annotation |
getScope()
Returns the scope for this data structure
|
public ScopeInfo(Annotation scope, Class<? extends Annotation> annoType)
scope
- The scope annotationannoType
- The type of annotationpublic Annotation getScope()
public Class<? extends Annotation> getAnnoType()
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.