com.borland.jbuilder.jot
Interface JotParameterDeclaration

All Superinterfaces:
JotMarker, JotParameter

public interface JotParameterDeclaration
extends JotParameter, JotMarker

This interface represents a parameter declaration in a method declaration. See sections 8.4 and 8.6 of the Java Language Specification for more information.


Method Summary
 void setModifiers(int modifiers)
          Specify the modifiers for the parameter.
 void setName(java.lang.String name)
          Sets the name of the parameter.
 void setType(java.lang.String type)
          Sets the type of this parameter.
 
Methods inherited from interface com.borland.jbuilder.jot.JotParameter
getModifiers, getName, getType
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 

Method Detail

setType

public void setType(java.lang.String type)
Sets the type of this parameter.

setName

public void setName(java.lang.String name)
Sets the name of the parameter. Note that C-style array declarations can be created by specifying the name followed by the appropriate brackets, e.g. "a[][]".

setModifiers

public void setModifiers(int modifiers)
Specify the modifiers for the parameter. Use the static variables of java.lang.reflect.Modifier to create the combination of modifiers desired.