Java org.eclipse.jdt.core.jdom IDOMMethod fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.jdom IDOMMethod fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.jdom IDOMMethod.

The text is from its open source code.

Method

voidaddParameter(String type, String name)
Adds the given parameter to the end of the parameter list.
StringgetName()
The IDOMMethod refinement of this IDOMNode method returns the name of this method.
String[]getParameterNames()
Returns the names of parameters in this method in the order they are declared, or null if no parameters are declared.
String[]getParameterTypes()
Returns the type names for the parameters of this method in the order they are declared, or null if no parameters are declared.
booleanisConstructor()
Returns whether this method is a constructor.
voidsetBody(String body)
Sets the body of this method.
voidsetFlags(int flags)
Sets the flags for this member.
voidsetName(String name)
The IDOMMethod refinement of this IDOMNode method sets the name of this method.
voidsetParameters(String[] types, String[] names)
Sets the types and names of parameters in this method in the order they are to be declared.
voidsetReturnType(String type)
Sets the return type name.