public static class TypePool.Default.Precomputed extends TypePool.Default
TypePool.Default.AnnotationRegistrant, TypePool.Default.ClassLoading, TypePool.Default.ComponentTypeLocator, TypePool.Default.GenericTypeExtractor, TypePool.Default.GenericTypeRegistrant, TypePool.Default.LazyTypeDescription, TypePool.Default.ParameterBag, TypePool.Default.Precomputed, TypePool.Default.ReaderMode, TypePool.Default.TypeExtractor
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.Hierarchical, TypePool.AbstractBase.RawAnnotationValue, TypePool.AbstractBase.RawEnumerationValue, TypePool.AbstractBase.RawNonPrimitiveArray, TypePool.AbstractBase.RawTypeValue
TypePool.AbstractBase, TypePool.CacheProvider, TypePool.Default, TypePool.Empty, TypePool.LazyFacade, TypePool.Resolution
classFileLocator, readerMode
cacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES
Constructor and Description |
---|
Precomputed(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode,
Map<String,TypeDescription> precomputed)
Creates a new precomputed 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() |
String |
toString() |
static TypePool |
withObjectType(TypePool.CacheProvider cacheProvider,
ClassFileLocator classFileLocator,
TypePool.Default.ReaderMode readerMode)
Creates a new precomputed type pool with the
Object type being precomputed. |
of, of, ofClassPath
clear, describe
public Precomputed(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode, Map<String,TypeDescription> precomputed)
cacheProvider
- The cache provider to be used.classFileLocator
- The class file locator to be used.readerMode
- The reader mode to apply by this default type pool.precomputed
- The precomputed type descriptions.public static TypePool withObjectType(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)
Object
type being precomputed.cacheProvider
- The cache provider to be used.classFileLocator
- The class file locator to be used.readerMode
- The reader mode to apply by this default type pool.Object
type being precomputed.protected TypePool.Resolution doDescribe(String name)
TypePool.AbstractBase
doDescribe
in class TypePool.Default
name
- The name of the type to describe.public boolean equals(Object other)
equals
in class TypePool.Default
public int hashCode()
hashCode
in class TypePool.Default
public String toString()
toString
in class TypePool.Default
Copyright © 2014–2016. All rights reserved.