Top Description Fields Constructors Methods
org.glassfish.hk2.utilities.reflection

public Class ScopeInfo

extends Object
Class Inheritance
Imports
java.lang.annotation.Annotation

Data structure concerning scope annotations
Author
jwells

Field Summary

Modifier and TypeField and Description
private final Class<? extends Annotation>
private final Annotation

Constructor Summary

AccessConstructor and Description
public
ScopeInfo(Annotation
The scope annotation
scope
,
Class<? extends Annotation>
The type of annotation
annoType
)

Constructor of the data structure concerning the scope annotation

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>

Returns:

the annotation type for this scope
getAnnoType
()

Returns the annotation class for this annotation type

public Annotation

Returns:

The non-null scope for this data structure
getScope
()

Returns the scope for this data structure

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annoTypeback to summary
private final Class<? extends Annotation> annoType
scopeback to summary
private final Annotation scope

Constructor Detail

ScopeInfoback to summary
public ScopeInfo(Annotation scope, Class<? extends Annotation> annoType)

Constructor of the data structure concerning the scope annotation

Parameters
scope:Annotation

The scope annotation

annoType:Class<? extends Annotation>

The type of annotation

Method Detail

getAnnoTypeback to summary
public Class<? extends Annotation> getAnnoType()

Returns the annotation class for this annotation type

Returns:Class<? extends Annotation>

the annotation type for this scope

getScopeback to summary
public Annotation getScope()

Returns the scope for this data structure

Returns:Annotation

The non-null scope for this data structure