| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectReflWrap.TypeTree
public class TypeTree
Data structure for keeping track of template types
| Field Summary | |
|---|---|
private  java.lang.Class | 
klasse
Type  | 
private  java.util.LinkedList<TypeTree> | 
targs
Type parameters  | 
| Constructor Summary | |
|---|---|
TypeTree(java.lang.Class... args)
Convenience constructor for simple types with a list of type parameters which have no further type parameters.  | 
|
TypeTree(java.lang.Class klass,
         java.util.LinkedList<TypeTree> tree)
 | 
|
TypeTree(java.lang.Class klass,
         TypeTree tree)
 | 
|
TypeTree(java.lang.String type)
Constructor  | 
|
| Method Summary | |
|---|---|
static java.lang.String | 
classify(java.lang.Class[] args)
Helper function  | 
 boolean | 
equals(java.lang.String type)
Compare a type descriptor to this TypeTree  | 
 java.lang.Class | 
getType()
Retrieve the type  | 
 TypeTree[] | 
getTypeArray()
Retrieve the type parameters as array  | 
 java.util.LinkedList<TypeTree> | 
getTypeParameters()
Retrieve the type parameters  | 
 java.lang.Class | 
klasse()
 | 
static void | 
main(java.lang.String[] args)
Test code  | 
private  java.lang.String | 
substr(java.lang.String str,
       int start,
       int end)
String.substring() wrapper  | 
 java.util.LinkedList<TypeTree> | 
targs()
 | 
 java.lang.String | 
toString()
Retrieve a string represenatation for this object  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private java.lang.Class klasse
private java.util.LinkedList<TypeTree> targs
| Constructor Detail | 
|---|
public TypeTree(java.lang.Class... args)
         throws java.lang.ClassNotFoundException
args - Types
java.lang.ClassNotFoundException
public TypeTree(java.lang.Class klass,
                TypeTree tree)
public TypeTree(java.lang.Class klass,
                java.util.LinkedList<TypeTree> tree)
public TypeTree(java.lang.String type)
         throws java.lang.ClassNotFoundException
type - Type descriptor
java.lang.ClassNotFoundException| Method Detail | 
|---|
public java.lang.Class klasse()
public java.util.LinkedList<TypeTree> targs()
private java.lang.String substr(java.lang.String str,
                                int start,
                                int end)
str - Stringstart - Start of substringend - End of substring or -1 for whole string
public java.lang.Class getType()
public java.util.LinkedList<TypeTree> getTypeParameters()
public TypeTree[] getTypeArray()
public static java.lang.String classify(java.lang.Class[] args)
args - Types
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.String type)
type - Type descriptor
public static void main(java.lang.String[] args)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||