|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectkoala.dynamicjava.tree.TreeUtilities
This class contains a collection of utility methods for trees.
| Method Summary | |
static Type |
classToType(java.lang.Class c)
Creates Type node from a Class object |
static Type |
classToType(java.lang.Class c,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates Type node from a Class object |
static java.lang.String |
listToName(java.util.List l)
Transforms a list of token into a dot-separated name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Type classToType(java.lang.Class c)
c - the class to use
public static Type classToType(java.lang.Class c,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
c - the class to usefn - the filenamebl - the begin linebc - the begin columnel - the end lineec - the end columnpublic static java.lang.String listToName(java.util.List l)
l - a list of token. l can be null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||