com.thoughtworks.qdox.model
public class JavaMethod extends AbstractInheritableJavaEntity implements Member
| Field Summary | |
|---|---|
| boolean | constructor |
| Type[] | exceptions |
| JavaParameter[] | parameters |
| protected Type | returns |
| Constructor Summary | |
|---|---|
| JavaMethod(JavaClass parent, int lineNumber) | |
| JavaMethod(JavaClass parent) | |
| JavaMethod() | |
| Method Summary | |
|---|---|
| int | compareTo(Object o) |
| boolean | equals(Object obj) |
| String | getCallSignature() |
| String | getDeclarationSignature(boolean withModifiers) |
| Type[] | getExceptions() |
| JavaParameter | getParameterByName(String name) |
| JavaParameter[] | getParameters() |
| JavaClass | getParentClass() |
| String | getPropertyName() |
| Type | getPropertyType() |
| Type | getReturns() |
| String | getSignature(boolean withModifiers, boolean isDeclaration) |
| DocletTag[] | getTagsByName(String name, boolean inherited) |
| int | hashCode() |
| boolean | isConstructor() |
| boolean | isPropertyAccessor() |
| boolean | isPropertyMutator() |
| boolean | isPublic() |
| void | setConstructor(boolean constructor) |
| void | setExceptions(Type[] exceptions) |
| void | setParameters(JavaParameter[] parameters) |
| void | setParentClass(JavaClass parentClass) |
| void | setReturns(Type returns) |
| boolean | signatureMatches(String name, Type[] parameterTypes) |
| protected void | writeBody(IndentBuffer result) |
| protected void | writeBody(IndentBuffer result, boolean withModifiers, boolean isDeclaration, boolean isPrettyPrint) |
Since: 1.3
Since: 1.3
Returns: the name of the property this method represents, or null if this method is not a property mutator or property accessor.
Since: 1.3
Returns: the type of the property this method represents, or null if this method is not a property mutator or property accessor.
Since: 1.3
Since: 1.3
Returns: true if this method is a Java Bean accessor
Since: 1.3
Returns: true if this method is a Java Bean accessor
Since: 1.3
Deprecated: Don't call this - the parent is set in the constructor.
Parameters: name method name parameterTypes parameter types or null if there are no parameters.
Returns: true if the signature and parameters match.
Since: 1.3