public class JConstructor extends JAbstractMethod implements JConstructor
Modifier and Type | Method and Description |
---|---|
JClassType |
getEnclosingType()
Gets the type in which this method or constructor was declared.
|
String |
getJsniSignature()
Returns a string contating a JSNI reference to the method.
|
String |
getReadableDeclaration() |
JConstructor |
isConstructor() |
JMethod |
isMethod() |
String |
toString() |
findParameter, getAnnotation, getAnnotations, getDeclaredAnnotations, getErasedParameterTypes, getMetaData, getMetaDataTags, getModifierBits, getName, getParameters, getParameterTypes, getThrows, getTypeParameters, isAnnotationMethod, isAnnotationPresent, isDefaultAccess, isPrivate, isProtected, isPublic, isVarArgs, toStringParamsAndThrows, toStringTypeParams
findParameter, getErasedParameterTypes, getName, getParameters, getParameterTypes, getThrows, isAnnotationMethod, isDefaultAccess, isPrivate, isProtected, isPublic, isVarArgs
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
getMetaData, getMetaDataTags
getTypeParameters
public JClassType getEnclosingType()
JAbstractMethod
getEnclosingType
in interface JAbstractMethod
getEnclosingType
in class JAbstractMethod
public String getJsniSignature()
JAbstractMethod
getJsniSignature
in interface JAbstractMethod
getJsniSignature
in class JAbstractMethod
@package.Class::method(Lpackage/Param;...)
public String getReadableDeclaration()
getReadableDeclaration
in interface JAbstractMethod
getReadableDeclaration
in class JAbstractMethod
public JConstructor isConstructor()
isConstructor
in interface JAbstractMethod
isConstructor
in class JAbstractMethod
public JMethod isMethod()
isMethod
in interface JAbstractMethod
isMethod
in class JAbstractMethod
Copyright © 2018. All rights reserved.