public class GWTSpecialMethod extends MetaMethod
Modifier and Type | Method and Description |
---|---|
Annotation[] |
getAnnotations() |
MetaClass[] |
getCheckedExceptions() |
MetaClass |
getDeclaringClass() |
String |
getDeclaringClassName() |
MetaType[] |
getGenericParameterTypes() |
MetaType |
getGenericReturnType()
Returns the MetaType representing the return type of the method.
|
String |
getName() |
MetaParameter[] |
getParameters() |
MetaClass |
getReturnType()
Returns the MetaClass representing this method's return type.
|
MetaTypeVariable[] |
getTypeParameters()
Returns the array of type variables declared on this generic declaration
site, in the order they were declared in the source code.
|
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynchronized() |
boolean |
isSynthetic() |
boolean |
isTransient() |
boolean |
isVarArgs() |
boolean |
isVolatile() |
asMethod, equals, getAnnotation, getParametersAnnotatedWith, hashCode, hashString, toString
isAnnotationPresent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isAnnotationPresent
public String getName()
getName
in interface MetaClassMember
getName
in class MetaMethod
public MetaClass getReturnType()
MetaMethod
getReturnType
in class MetaMethod
public MetaParameter[] getParameters()
getParameters
in class MetaMethod
public Annotation[] getAnnotations()
public MetaClass getDeclaringClass()
public String getDeclaringClassName()
public MetaType getGenericReturnType()
MetaMethod
MetaClass
equivalent to the one returned by
MetaMethod.getReturnType()
. Other possible types could be
MetaWildcardType
, MetaParameterizedType
, and
MetaTypeVariable
.
As of Errai 2.2, some implementations of this method are incomplete and will return null if they cannot make sense of the method's return type.
getGenericReturnType
in class MetaMethod
public MetaType[] getGenericParameterTypes()
getGenericParameterTypes
in class MetaMethod
public MetaClass[] getCheckedExceptions()
getCheckedExceptions
in class MetaMethod
public boolean isAbstract()
public boolean isPublic()
public boolean isPrivate()
public boolean isProtected()
public boolean isFinal()
public boolean isStatic()
public boolean isTransient()
public boolean isVolatile()
public boolean isSynthetic()
public boolean isSynchronized()
public boolean isVarArgs()
isVarArgs
in class MetaMethod
public MetaTypeVariable[] getTypeParameters()
MetaGenericDeclaration
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.