com.pnfsoftware.jeb.core.units.code.java.IJavaMethod |
Java AST interface to represent Java methods.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract List<? extends IJavaClass> | getAnonymousClasses() | ||||||||||
abstract IJavaBlock |
getBody()
Get the body of the method.
| ||||||||||
abstract IJavaType |
getClassType()
Get the type of the entity containing this method.
| ||||||||||
abstract List<? extends IJavaClass> | getInnerClasses() | ||||||||||
abstract List<? extends IJavaAnnotation> | getMethodAnnotations() | ||||||||||
abstract String |
getName()
Get the original method name.
| ||||||||||
abstract List<? extends IJavaAnnotation> | getParameterAnnotations(int index) | ||||||||||
abstract List<? extends IJavaDefinition> |
getParameters()
Get the parameters of the method.
| ||||||||||
abstract IJavaType |
getReturnType()
Get the return type of the method.
| ||||||||||
abstract String |
getSignature()
Get the original method signature.
| ||||||||||
abstract boolean |
isStatic()
Determine whether this method is a static method.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the original method name.
Get the parameters of the method.
Get the return type of the method.
Get the original method signature.
Determine whether this method is a static method.