org.glassfish.gmbal.typelib
Interface EvaluatedDeclaration

All Superinterfaces:
EvaluatedType
All Known Subinterfaces:
EvaluatedAccessibleDeclaration, EvaluatedClassDeclaration, EvaluatedFieldDeclaration, EvaluatedMethodDeclaration
All Known Implementing Classes:
EvaluatedClassDeclarationBase, EvaluatedDeclarationBase, EvaluatedFieldDeclarationBase, EvaluatedMethodDeclarationBase

public interface EvaluatedDeclaration
extends EvaluatedType

Author:
ken

Field Summary
 
Fields inherited from interface org.glassfish.gmbal.typelib.EvaluatedType
EBIG_DECIMAL, EBIG_INTEGER, EBOOLEAN, EBOOLEANW, EBYTE, EBYTEW, ECHAR, ECHARW, EDATE, EDOUBLE, EDOUBLEW, EFLOAT, EFLOATW, EINT, EINTW, ELONG, ELONGW, ENUMBER, EOBJECT, EOBJECT_NAME, ESHORT, ESHORTW, ESTRING, EVOID
 
Method Summary
<T extends java.lang.annotation.Annotation>
T
annotation(java.lang.Class<T> annotationType)
           
 java.util.List<java.lang.annotation.Annotation> annotations()
          Return the annotations on this declaration.
 java.lang.reflect.AnnotatedElement element()
           
 int modifiers()
           
 
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()