public class GWTConstructor extends MetaConstructor
Constructor and Description |
---|
GWTConstructor(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JConstructor c) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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() |
asConstructor
asMethod, getAnnotation, getParametersAnnotatedWith, hashCode, hashString, toString
isAnnotationPresent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotation, isAnnotationPresent
public GWTConstructor(com.google.gwt.core.ext.typeinfo.TypeOracle oracle, com.google.gwt.core.ext.typeinfo.JConstructor c)
public MetaParameter[] getParameters()
getParameters
in class MetaConstructor
public String getName()
getName
in interface MetaClassMember
getName
in class MetaMethod
public MetaClass getReturnType()
MetaMethod
getReturnType
in class MetaMethod
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 MetaClass getDeclaringClass()
public String getDeclaringClassName()
public Annotation[] getAnnotations()
public MetaType[] getGenericParameterTypes()
getGenericParameterTypes
in class MetaConstructor
public MetaClass[] getCheckedExceptions()
getCheckedExceptions
in class MetaMethod
public boolean isVarArgs()
isVarArgs
in class MetaConstructor
public boolean isAbstract()
public boolean isPublic()
public boolean isPrivate()
public boolean isProtected()
public boolean isFinal()
public boolean isStatic()
public boolean isTransient()
public boolean isSynthetic()
public boolean isVolatile()
public boolean isSynchronized()
public MetaTypeVariable[] getTypeParameters()
MetaGenericDeclaration
public boolean equals(Object o)
equals
in class MetaMethod
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.