xjavadoc
Class ParameterImpl
- Named, Type, XParameter
public final class ParameterImpl
This is a flyweight implementation of XParameter
Version:
- Ara Abrahamian (ara_e_w@yahoo.com)
- Aslak Helles?y
_containingExecutableMember
private AbstractExecutableMember _containingExecutableMember
XMember we're currently reresenting.
_description
private String _description
_parameterIndex
private int _parameterIndex
Index of the parameter we're currently representing.
instanceCount
public static int instanceCount
ParameterImpl
public ParameterImpl()
getDescription
public String getDescription()
Gets the description of this parameter. This is the text in the param tag
preceding the first token.
- getDescription in interface XParameter
- the description of this parameter, or null if there is no
corresponding param tag.
getDimension
public final int getDimension()
Returns the dimension as an int
- getDimension in interface Type
- dimension as an int
getDimensionAsString
public String getDimensionAsString()
Returns the dimension as a String, "", "[]", "[][]" etc.
- getDimensionAsString in interface Type
- dimension as a String
getName
public final String getName()
Get name
- getName in interface Named
- name
getParamTag
public XTag getParamTag()
Gets the param tag for this parameter.
- getParamTag in interface XParameter
- the param tag for this parameter, or null if none is specified.
getType
public final XClass getType()
Returns the class describing the type of this parameter.
- getType in interface Type
setState
(package private) final void setState(AbstractExecutableMember containingExecutableMember,
int parameterIndex)
Sets the extrinsic flyweight state.
containingExecutableMember
- The containing memberparameterIndex
-
toString
public final String toString()