Package org.glassfish.gmbal.typelib
Interface EvaluatedDeclaration
-
- All Superinterfaces:
EvaluatedType
- All Known Subinterfaces:
EvaluatedAccessibleDeclaration,EvaluatedClassDeclaration,EvaluatedFieldDeclaration,EvaluatedMethodDeclaration
- All Known Implementing Classes:
DeclarationFactory.EvaluatedClassDeclarationImpl,DeclarationFactory.EvaluatedFieldDeclarationImpl,DeclarationFactory.EvaluatedMethodDeclarationImpl,EvaluatedClassDeclarationBase,EvaluatedDeclarationBase,EvaluatedFieldDeclarationBase,EvaluatedMethodDeclarationBase
public interface EvaluatedDeclaration extends EvaluatedType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
Tannotation(java.lang.Class<T> annotationType)java.util.List<java.lang.annotation.Annotation>annotations()Return the annotations on this declaration.java.lang.reflect.AnnotatedElementelement()intmodifiers()-
Methods inherited from interface org.glassfish.gmbal.typelib.EvaluatedType
accept, isImmutable, name
-
-
-
-
Method Detail
-
annotation
<T extends java.lang.annotation.Annotation> T annotation(java.lang.Class<T> annotationType)
-
annotations
java.util.List<java.lang.annotation.Annotation> annotations()
Return the annotations on this declaration.- Returns:
- List of all annotations on this declaration.
-
modifiers
int modifiers()
-
element
java.lang.reflect.AnnotatedElement element()
-
-