xjavadoc
Class ReturnType

java.lang.Object
  extended byxjavadoc.AbstractType
      extended byxjavadoc.ReturnType
All Implemented Interfaces:
Type

class ReturnType
extends AbstractType

Implementation of Type for method return types.

Version:
$Revision: 1.3 $
Author:
Aslak Helles�y

Field Summary
private  int _dimension
           
private  java.lang.String _dimensionAsString
           
private  MethodImpl _method
           
private  XClass _type
           
private  java.lang.String _typeString
           
 
Constructor Summary
ReturnType(MethodImpl method)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getDimension()
          Returns the dimension as an int
 java.lang.String getDimensionAsString()
          Returns the dimension as a String, "", "[]", "[][]" etc.
 XClass getType()
          Get type
 void setDimension(int dimension)
           
 void setType(java.lang.String typeString)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_method

private MethodImpl _method

_dimensionAsString

private java.lang.String _dimensionAsString

_type

private XClass _type

_typeString

private java.lang.String _typeString

_dimension

private int _dimension
Constructor Detail

ReturnType

public ReturnType(MethodImpl method)
Method Detail

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)

equals

public boolean equals(java.lang.Object o)