com.borland.jbuilder.jot
Interface JotParameter

All Known Subinterfaces:
JotParameterDeclaration

public interface JotParameter

This interface represents a parameter to a method. For more information about parameters see section 8.4.1 of the Java Language Specification.


Method Summary
 int getModifiers()
          Returns the Java language modifiers for this parameter encoded in an integer.
 java.lang.String getName()
          Returns the name of this parameter.
 JotType getType()
          Returns the type of this parameter.
 

Method Detail

getType

public JotType getType()
Returns the type of this parameter. Note that this method accounts for C-style array declarations. For example, given the declaration int a[], then the type returned will be int[].

getName

public java.lang.String getName()
Returns the name of this parameter.

getModifiers

public int getModifiers()
Returns the Java language modifiers for this parameter encoded in an integer. The only valid modifier for a parameter is Java Virtual Machine's constant for final; it should be decoded using the methods of class Modifier.

The modifier encodings are defined in The Java Virtual Machine Specification, table 4.1.

See Also:
Modifier