public static class TypePool.ClassLoading extends TypePool.AbstractBase.Hierarchical
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.Hierarchical, TypePool.AbstractBase.RawAnnotationValue, TypePool.AbstractBase.RawDescriptionArray, TypePool.AbstractBase.RawEnumerationValue, TypePool.AbstractBase.RawTypeValueTypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.ResolutioncacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES| Constructor and Description |
|---|
ClassLoading(TypePool.CacheProvider cacheProvider,
TypePool parent,
ClassLoader classLoader)
Creates a class loadings type pool.
|
| Modifier and Type | Method and Description |
|---|---|
TypePool.Resolution |
doDescribe(String name)
Determines a resolution to a non-primitive, non-array type.
|
boolean |
equals(Object other) |
int |
hashCode() |
static TypePool |
of(ClassLoader classLoader)
Returns a type pool that attempts type descriptions by loadings types from the given class loader.
|
static TypePool |
of(ClassLoader classLoader,
TypePool parent)
Returns a type pool that attempts type descriptions by loadings types from the given class loader.
|
static TypePool |
ofBootPath()
Returns a type pool that attempts type descriptions by loadings types from the bootstrap class loader.
|
static TypePool |
ofClassPath()
Returns a type pool that attempts type descriptions by loadings types from the system class loader.
|
String |
toString() |
clear, describedoCachepublic ClassLoading(TypePool.CacheProvider cacheProvider, TypePool parent, ClassLoader classLoader)
cacheProvider - The cache provider to use.parent - The parent type pool.classLoader - The class loader to use for locating files.public static TypePool of(ClassLoader classLoader)
classLoader - The class loader to use.public static TypePool of(ClassLoader classLoader, TypePool parent)
classLoader - The class loader to use.parent - The parent type pool to use.public static TypePool ofBootPath()
public static TypePool ofClassPath()
public TypePool.Resolution doDescribe(String name)
TypePool.AbstractBasedoDescribe in class TypePool.AbstractBasename - The name of the type to describe.public boolean equals(Object other)
equals in class TypePool.AbstractBase.Hierarchicalpublic int hashCode()
hashCode in class TypePool.AbstractBase.HierarchicalCopyright © 2014–2016. All rights reserved.