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, wait
create, wrap
public static final ClassAliasPool CLASS_ALIASES
public void clean()
public Class forName(CharSequence name) throws ClassNotFoundException
forName
in interface ClassLookup
ClassNotFoundException
public String nameFor(Class clazz)
nameFor
in interface ClassLookup
public void addAlias(Class... classes)
addAlias
in interface ClassLookup
public void addAlias(Class clazz, String names)
addAlias
in interface ClassLookup
Copyright © 2016. All rights reserved.