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(@NotNull CharSequence name) throws ClassNotFoundException
forName in interface ClassLookupClassNotFoundExceptionpublic String nameFor(Class clazz)
nameFor in interface ClassLookuppublic void addAlias(@NotNull
Class... classes)
addAlias in interface ClassLookuppublic void addAlias(Class clazz, @NotNull String names)
addAlias in interface ClassLookupCopyright © 2019. All rights reserved.