| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Map | |
| private HashSet | |
| private List | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Class | |
| public void | |
| public void | importPackage(String
The package name to be imported packageName)Import all the classes in a package. |
| public void | importStatic(String
The static member name, including the full class name,
to be imported name)Import a static field or method. |
| public Class | Returns: If the class has been imported previously, withimportClass or importPackage, then its
Class instance. Otherwise null.The name of the class (without package name) to be resolved. name)Resolve a class name. |
| private Class | |
| public Class | Returns: If the field or method has been imported previously, withimportStatic, then the class object representing the class that
declares the static field or method.
Otherwise null.The name of the member(without package and class name)
to be resolved. name)Resolve a static field or method name. |
| classMap | back to summary |
|---|---|
| private Map<String, Class<?>> classMap | |
| classNameMap | back to summary |
|---|---|
| private Map<String, String> classNameMap | |
| notAClass | back to summary |
|---|---|
| private HashSet<String> notAClass | |
| packages | back to summary |
|---|---|
| private List<String> packages | |
| staticNameMap | back to summary |
|---|---|
| private Map<String, String> staticNameMap | |
| ImportHandler | back to summary |
|---|---|
| public ImportHandler() | |
| checkModifiers | back to summary |
|---|---|
| private void checkModifiers(int modifiers) | |
| getClassFor | back to summary |
|---|---|
| private Class | |
| importClass | back to summary |
|---|---|
| public void importClass(String name) throws ELException Import a class.
| |
| importPackage | back to summary |
|---|---|
| public void importPackage(String packageName) Import all the classes in a package.
| |
| importStatic | back to summary |
|---|---|
| public void importStatic(String name) throws ELException Import a static field or method.
| |
| resolveClass | back to summary |
|---|---|
| public Class Resolve a class name.
| |
| resolveClassFor | back to summary |
|---|---|
| private Class | |
| resolveStatic | back to summary |
|---|---|
| public Class Resolve a static field or method name.
| |