public interface AuxiliaryType
equals(Object)
and hashCode()
implementations in order to avoid multiple creations
of this type.Modifier and Type | Interface and Description |
---|---|
static interface |
AuxiliaryType.MethodAccessorFactory
A factory for creating method proxies for an auxiliary type.
|
static interface |
AuxiliaryType.NamingStrategy
Representation of a naming strategy for an auxiliary type.
|
Modifier and Type | Field and Description |
---|---|
static ModifierContributor.ForType[] |
DEFAULT_TYPE_MODIFIER
The default type access of an auxiliary type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType |
make(String auxiliaryTypeName,
ClassFileVersion classFileVersion,
AuxiliaryType.MethodAccessorFactory methodAccessorFactory)
Creates a new auxiliary type.
|
static final ModifierContributor.ForType[] DEFAULT_TYPE_MODIFIER
DynamicType make(String auxiliaryTypeName, ClassFileVersion classFileVersion, AuxiliaryType.MethodAccessorFactory methodAccessorFactory)
auxiliaryTypeName
- The fully qualified non-internal name for this auxiliary type. The type should be in
the same package than the instrumented type this auxiliary type is providing services
to in order to allow package-private access.classFileVersion
- The class file version the auxiliary class should be written in.methodAccessorFactory
- A factory for accessor methods.Copyright © 2014–2015. All rights reserved.