public class ClassAliasPool extends Object implements ClassLookup
| Modifier and Type | Field and Description |
|---|---|
static ClassAliasPool |
CLASS_ALIASES |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(Class... classes) |
void |
addAlias(Class clazz,
String names) |
void |
clean()
remove classes which are not in the default class loaders.
|
Class |
forName(CharSequence name) |
String |
nameFor(Class clazz) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, wrap, wrappublic static final ClassAliasPool CLASS_ALIASES
public void clean()
public Class forName(CharSequence name) throws ClassNotFoundException
forName in interface ClassLookupClassNotFoundExceptionpublic String nameFor(Class clazz)
nameFor in interface ClassLookuppublic void addAlias(Class... classes)
addAlias in interface ClassLookuppublic void addAlias(Class clazz, String names)
addAlias in interface ClassLookupCopyright © 2016. All rights reserved.