|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.reflect.impl.TypeVariableImpl<DECLARATION>
DECLARATION - the type of generic declaration that declared the
underlying type variable.public class TypeVariableImpl<DECLARATION extends GenericDeclaration>
This is an implementation of the TypeVariable interface.
| Field Summary | |
|---|---|
private Type[] |
bounds
|
private DECLARATION |
genericDeclaration
|
private String |
name
|
| Constructor Summary | |
|---|---|
TypeVariableImpl(String name,
DECLARATION declaration,
Type[] bounds)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
Type[] |
getBounds()
TODO: unclear how we build the bounds! |
DECLARATION |
getGenericDeclaration()
|
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final String name
getName()private final Type[] bounds
getBounds()private final DECLARATION extends GenericDeclaration genericDeclaration
getGenericDeclaration()| Constructor Detail |
|---|
public TypeVariableImpl(String name,
DECLARATION declaration,
Type[] bounds)
name - is the name.declaration - is the declaring
element (e.g. Class or Method).bounds - are the getBounds().| Method Detail |
|---|
public Type[] getBounds()
getBounds in interface TypeVariable<DECLARATION extends GenericDeclaration>public DECLARATION getGenericDeclaration()
getGenericDeclaration in interface TypeVariable<DECLARATION extends GenericDeclaration>public String getName()
getName in interface TypeVariable<DECLARATION extends GenericDeclaration>public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||