org.javaruntype.typedef
Class InnerParameterizedTypeTypeDefVariable

Object
  extended by org.javaruntype.typedef.InnerParameterizedTypeTypeDefVariable
All Implemented Interfaces:
Serializable, InnerTypeDefVariable

public final class InnerParameterizedTypeTypeDefVariable
extends Object
implements InnerTypeDefVariable

Represents an inner type definition variable containing a parameterized type.

For example: X extends List<Integer>.

Since:
1.0
Author:
Daniel Fernández
See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 int getArrayDimensions()
           Returns the number of array dimensions applied to the component class.
 Class<?> getComponentClass()
           Returns the component class
 InnerTypeDefVariable[] getVariables()
          Returns the type parameters (variables) applied to the component class.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getComponentClass

public Class<?> getComponentClass()

Returns the component class

Returns:
the component class

getVariables

public InnerTypeDefVariable[] getVariables()
Returns the type parameters (variables) applied to the component class.

Returns:
the type parameters

getArrayDimensions

public int getArrayDimensions()

Returns the number of array dimensions applied to the component class.

Returns:
the array dimensions.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 The JAVARUNTYPE team. All Rights Reserved.