@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Explicit extends TypePool.AbstractBase.Hierarchical
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.ComponentTypeReference, TypePool.AbstractBase.Hierarchical
TypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.Resolution
cacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES
Constructor and Description |
---|
Explicit(Map<String,TypeDescription> types)
Creates a new explicit type pool without a parent.
|
Explicit(TypePool parent,
Map<String,TypeDescription> types)
Creates a new explicit type pool.
|
Modifier and Type | Method and Description |
---|---|
protected TypePool.Resolution |
doDescribe(String name)
Determines a resolution to a non-primitive, non-array type.
|
static TypePool |
wrap(TypeDescription instrumentedType,
List<? extends DynamicType> auxiliaryTypes,
TypePool typePool)
Wraps another type pool for an instrumented type and its auxiliary types.
|
clear, describe
doCache
public Explicit(Map<String,TypeDescription> types)
types
- A mapping from type names to type descriptions of that name.public Explicit(TypePool parent, Map<String,TypeDescription> types)
parent
- The parent type pool.types
- A mapping from type names to type descriptions of that name.public static TypePool wrap(TypeDescription instrumentedType, List<? extends DynamicType> auxiliaryTypes, TypePool typePool)
instrumentedType
- The instrumented type.auxiliaryTypes
- The auxiliary types.typePool
- The type pool to wrap.protected TypePool.Resolution doDescribe(String name)
TypePool.AbstractBase
doDescribe
in class TypePool.AbstractBase
name
- The name of the type to describe.Copyright © 2014–2023. All rights reserved.