Package org.glassfish.gmbal.typelib
Class DeclarationFactory.EvaluatedMethodDeclarationImpl
- java.lang.Object
-
- org.glassfish.gmbal.typelib.EvaluatedTypeBase
-
- org.glassfish.gmbal.typelib.EvaluatedDeclarationBase
-
- org.glassfish.gmbal.typelib.EvaluatedMethodDeclarationBase
-
- org.glassfish.gmbal.typelib.DeclarationFactory.EvaluatedMethodDeclarationImpl
-
- All Implemented Interfaces:
EvaluatedAccessibleDeclaration
,EvaluatedDeclaration
,EvaluatedMethodDeclaration
,EvaluatedType
- Enclosing class:
- DeclarationFactory
private static class DeclarationFactory.EvaluatedMethodDeclarationImpl extends EvaluatedMethodDeclarationBase
-
-
Field Summary
Fields Modifier and Type Field Description private EvaluatedClassDeclaration
container
private java.lang.reflect.Method
method
private int
modifiers
private java.lang.String
name
private java.util.List<EvaluatedType>
ptypes
private EvaluatedType
rtype
-
Constructor Summary
Constructors Constructor Description EvaluatedMethodDeclarationImpl(EvaluatedClassDeclaration cdecl, int modifiers, EvaluatedType rtype, java.lang.String name, java.util.List<EvaluatedType> ptypes, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.AccessibleObject
accessible()
<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.EvaluatedClassDeclaration
containingClass()
java.lang.reflect.AnnotatedElement
element()
java.lang.reflect.Method
method()
int
modifiers()
java.lang.String
name()
java.util.List<EvaluatedType>
parameterTypes()
EvaluatedType
returnType()
-
Methods inherited from class org.glassfish.gmbal.typelib.EvaluatedMethodDeclarationBase
accept, containingClass, hashCode, makeRepresentation, myEquals
-
Methods inherited from class org.glassfish.gmbal.typelib.EvaluatedTypeBase
castList, equalList, equals, equals, handleList, handleModifier, hashCode, isImmutable, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.glassfish.gmbal.typelib.EvaluatedType
isImmutable
-
-
-
-
Field Detail
-
container
private final EvaluatedClassDeclaration container
-
modifiers
private final int modifiers
-
rtype
private final EvaluatedType rtype
-
name
private final java.lang.String name
-
ptypes
private final java.util.List<EvaluatedType> ptypes
-
method
@DumpToString private final java.lang.reflect.Method method
-
-
Constructor Detail
-
EvaluatedMethodDeclarationImpl
public EvaluatedMethodDeclarationImpl(EvaluatedClassDeclaration cdecl, int modifiers, EvaluatedType rtype, java.lang.String name, java.util.List<EvaluatedType> ptypes, java.lang.reflect.Method method)
-
-
Method Detail
-
name
public java.lang.String name()
-
modifiers
public int modifiers()
-
parameterTypes
public java.util.List<EvaluatedType> parameterTypes()
-
returnType
public EvaluatedType returnType()
-
containingClass
public EvaluatedClassDeclaration containingClass()
-
method
public java.lang.reflect.Method method()
-
annotation
public <T extends java.lang.annotation.Annotation> T annotation(java.lang.Class<T> annotationType)
-
annotations
public java.util.List<java.lang.annotation.Annotation> annotations()
Description copied from interface:EvaluatedDeclaration
Return the annotations on this declaration.- Returns:
- List of all annotations on this declaration.
-
element
public java.lang.reflect.AnnotatedElement element()
-
accessible
public java.lang.reflect.AccessibleObject accessible()
-
-