Package | Description |
---|---|
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method | Description |
---|---|---|
JMethod |
JClass.getMethod(int index) |
Returns the JMethod located at the specified index
|
JMethod |
JClass.getMethod(String name,
int startIndex) |
Returns the first occurrence of the method with the
given name, starting from the specified index.
|
JMethod[] |
JClass.getMethods() |
Returns an array of all the JMethods of this JClass
|
Modifier and Type | Method | Description |
---|---|---|
void |
JClass.addMethod(JMethod jMethod) |
Adds the given JMethod to this JClass
|
void |
JClass.addMethod(JMethod jMethod,
boolean importReturnType) |
Adds the given JMethod to this JClass
|
void |
JClass.addMethods(JMethod[] jMethods) |
Adds the given array of JMethods to this JClass
|
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.