xjavadoc
Class ReturnType
java.lang.Object
xjavadoc.AbstractType
xjavadoc.ReturnType
- All Implemented Interfaces:
- Type
class ReturnType
- extends AbstractType
Implementation of Type for method return types.
- Version:
- $Revision: 1.3 $
- Author:
- Aslak Helles?y
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_method
private MethodImpl _method
_dimensionAsString
private java.lang.String _dimensionAsString
_type
private XClass _type
_typeString
private java.lang.String _typeString
_dimension
private int _dimension
ReturnType
public ReturnType(MethodImpl method)
getDimensionAsString
public java.lang.String getDimensionAsString()
- Description copied from interface:
Type
- Returns the dimension as a String, "", "[]", "[][]" etc.
- Returns:
- dimension as a String
getType
public XClass getType()
- Description copied from interface:
Type
- Get type
- Returns:
- type
getDimension
public int getDimension()
- Description copied from interface:
Type
- Returns the dimension as an int
- Returns:
- dimension as an int
setDimension
public void setDimension(int dimension)
setType
public void setType(java.lang.String typeString)