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, TypePool.CacheProvider, TypePool.Default, TypePool.LazyTypeDescription, TypePool.Resolution
cacheProvider, 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, describe
public 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.AbstractBase
doDescribe
in class TypePool.AbstractBase
name
- The name of the type to describe.public boolean equals(Object other)
equals
in class TypePool.AbstractBase
public int hashCode()
hashCode
in class TypePool.AbstractBase
Copyright © 2014–2015. All rights reserved.