Class JMethod
Constructors
Methods
Constructor Detail
JMethod
Parameters
- oracle
-
- enclosingType
-
- name
-
- declStart
-
- declEnd
-
- bodyStart
-
- bodyEnd
-
Method Detail
getEnclosingType
Gets the type in which this method or constructor was declared.
getReadableDeclaration
public abstract
String getReadableDeclaration()
getReadableDeclaration
public
String getReadableDeclaration(
boolean noAccess, boolean noNative, boolean noStatic, boolean noFinal, boolean noAbstract)
Parameters
- noAccess
-
- noNative
-
- noStatic
-
- noFinal
-
- noAbstract
-
getReturnType
public
JType getReturnType()
isAbstract
public boolean isAbstract()
isConstructor
isFinal
public boolean isFinal()
isMethod
isNative
public boolean isNative()
isStatic
public boolean isStatic()
setReturnType
public void
setReturnType(
JType type)
Parameters
- type
-
toString