|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.dynamic.codegen.impl.ImportListImpl
public class ImportListImpl
| Constructor Summary | |
|---|---|
ImportListImpl()
|
|
| Method Summary | |
|---|---|
Type |
addImport(String name)
Add a fully-qualified type name to the imports. |
void |
addImport(Type type)
|
boolean |
contains(String name)
Return whether or not this Type is in the imports. |
boolean |
contains(Type type)
|
ImportList |
copy()
Return a copy of this ImportList. |
List<org.glassfish.pfl.basic.contain.Pair<String,String>> |
getInOrderList()
Return a list of imports as (packageName,className) pairs. |
Type |
lookup(String className)
Lookup just the className, without package name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportListImpl()
| Method Detail |
|---|
public ImportList copy()
ImportList
copy in interface ImportListpublic Type addImport(String name)
addImport in interface ImportListpublic void addImport(Type type)
addImport in interface ImportListpublic boolean contains(String name)
contains in interface ImportListpublic boolean contains(Type type)
contains in interface ImportListpublic Type lookup(String className)
lookup in interface ImportListpublic List<org.glassfish.pfl.basic.contain.Pair<String,String>> getInOrderList()
getInOrderList in interface ImportList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||