public static class TypePool.Default extends TypePool.AbstractBase
TypePool that models binary data in the
Java byte code format into a TypeDescription. The data lookup
is delegated to a ClassFileLocator.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
TypePool.Default.AnnotationRegistrant
An annotation registrant implements a visitor pattern for reading an unknown amount of values of annotations.
|
protected static interface |
TypePool.Default.ComponentTypeLocator
A component type locator allows for the lazy location of an array's component type.
|
protected static class |
TypePool.Default.ParameterBag
A bag for collecting parameter meta information that is stored as debug information for implemented
methods.
|
protected class |
TypePool.Default.TypeExtractor
A type extractor reads a class file and collects data that is relevant to create a type description.
|
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.RawAnnotationValue, TypePool.AbstractBase.RawEnumerationValue, TypePool.AbstractBase.RawNonPrimitiveArray, TypePool.AbstractBase.RawTypeValueTypePool.AbstractBase, TypePool.CacheProvider, TypePool.Default, TypePool.LazyTypeDescription, TypePool.ResolutioncacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES| Constructor and Description |
|---|
Default(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator)
Creates a new default type pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypePool.Resolution |
doDescribe(String name)
Determines a resolution to a non-primitive, non-array type.
|
boolean |
equals(Object other) |
int |
hashCode() |
static TypePool |
ofClassPath()
Creates a default
TypePool that looks up data by querying the system class
loader. |
String |
toString() |
clear, describepublic Default(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator)
cacheProvider - The cache provider to be used.classFileLocator - The class file locator to be used.public static TypePool ofClassPath()
TypePool that looks up data by querying the system class
loader.protected 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.AbstractBasepublic int hashCode()
hashCode in class TypePool.AbstractBaseCopyright © 2014–2015. All rights reserved.