| 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 int | getIndexOfFirstVisibleParameter() | ||||||||||
| abstract List<? extends IJavaClass> | getInnerClasses() | ||||||||||
| abstract List<? extends IJavaAnnotation> | getMethodAnnotations() | ||||||||||
| abstract String |
getName()
Get the original method name.
| ||||||||||
| abstract IJavaDefinition | getParameter(int index) | ||||||||||
| abstract List<? extends IJavaAnnotation> | getParameterAnnotations(int index) | ||||||||||
| abstract int | getParameterCount() | ||||||||||
| 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 int | getVisibleParameterCount() | ||||||||||
| abstract boolean |
isStatic()
Determine whether this method is a static method.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
| |||||||||||
Get the original method name. The returned name is a simple name, without parameter, return, or type information.
Get the parameters of the method.
Note: If the method is non-static, the first parameter in the list would be `this`.
Get the return type of the method.
Get the original method signature.
Determine whether this method is a static method.