|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxjavadoc.AbstractType
xjavadoc.ParameterImpl
public final class ParameterImpl
This is a flyweight implementation of XParameter
Field Summary | |
---|---|
private AbstractExecutableMember |
_containingExecutableMember
XMember we're currently reresenting. |
private java.lang.String |
_description
|
private int |
_parameterIndex
Index of the parameter we're currently representing. |
static int |
instanceCount
|
Constructor Summary | |
---|---|
ParameterImpl()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the description of this parameter. |
int |
getDimension()
Returns the dimension as an int |
java.lang.String |
getDimensionAsString()
Returns the dimension as a String, "", "[]", "[][]" etc. |
java.lang.String |
getName()
Get name |
XTag |
getParamTag()
Gets the param tag for this parameter. |
XClass |
getType()
Returns the class describing the type of this parameter. |
(package private) void |
setState(AbstractExecutableMember containingExecutableMember,
int parameterIndex)
Sets the extrinsic flyweight state. |
java.lang.String |
toString()
|
Methods inherited from class xjavadoc.AbstractType |
---|
equals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int instanceCount
private AbstractExecutableMember _containingExecutableMember
private int _parameterIndex
private java.lang.String _description
Constructor Detail |
---|
public ParameterImpl()
Method Detail |
---|
public final java.lang.String getName()
Named
getName
in interface Named
public final XClass getType()
getType
in interface Type
public final int getDimension()
Type
getDimension
in interface Type
public XTag getParamTag()
XParameter
getParamTag
in interface XParameter
public java.lang.String getDescription()
XParameter
getDescription
in interface XParameter
public java.lang.String getDimensionAsString()
Type
getDimensionAsString
in interface Type
public final java.lang.String toString()
toString
in class java.lang.Object
final void setState(AbstractExecutableMember containingExecutableMember, int parameterIndex)
containingExecutableMember
- The containing memberparameterIndex
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |