|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.codegen.meta.MetaMethod
org.jboss.errai.codegen.meta.impl.gwt.GWTMethod
public class GWTMethod
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Annotation[] |
getAnnotations()
|
MetaClass[] |
getCheckedExceptions()
|
MetaClass |
getDeclaringClass()
|
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()
|
String |
toString()
|
Methods inherited from class org.jboss.errai.codegen.meta.MetaMethod |
---|
asMethod, getAnnotation, getParametersAnnotatedWith, hashCode, hashString, isAnnotationPresent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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 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
public boolean equals(Object o)
equals
in class MetaMethod
public String toString()
toString
in class Object
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |