T
- The actual type of the rebased type.public class RebaseDynamicTypeBuilder<T> extends DynamicType.Builder.AbstractBase<T>
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<U>, DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception, DynamicType.Builder.AbstractBase.DefaultFieldValueTarget, DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception, DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget, DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception, DynamicType.Builder.AbstractBase.FieldToken, DynamicType.Builder.AbstractBase.MethodToken
DynamicType.Builder.AbstractBase<S>, DynamicType.Builder.ExceptionDeclarableMethodInterception<S>, DynamicType.Builder.FieldAnnotationTarget<S>, DynamicType.Builder.FieldValueTarget<S>, DynamicType.Builder.MatchedMethodInterception<S>, DynamicType.Builder.MethodAnnotationTarget<S>, DynamicType.Builder.OptionalMatchedMethodInterception<S>
attributeAppender, auxiliaryTypeNamingStrategy, bridgeMethodResolverFactory, classFileVersion, classVisitorWrapperChain, defaultFieldAttributeAppenderFactory, defaultMethodAttributeAppenderFactory, fieldRegistry, fieldTokens, ignoredMethods, interfaceTypes, methodLookupEngineFactory, methodRegistry, methodTokens, modifiers, namingStrategy, targetType
Modifier | Constructor and Description |
---|---|
|
RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
TypeDescription levelType,
List<? extends TypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
ClassFileLocator classFileLocator,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new rebase dynamic type builder.
|
protected |
RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
TypeDescription levelType,
List<TypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens,
ClassFileLocator classFileLocator,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new rebase dynamic type builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
DynamicType.Unloaded<T> |
make()
Creates the dynamic type without loading it.
|
protected DynamicType.Builder<T> |
materialize(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
TypeDescription levelType,
List<TypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
BridgeMethodResolver.Factory bridgeMethodResolverFactory,
ClassVisitorWrapper.Chain classVisitorWrapperChain,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodLookupEngine.Factory methodLookupEngineFactory,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens)
Creates a new immutable type builder which represents the given arguments.
|
String |
toString() |
annotateType, annotateType, applyRecordedMembersTo, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, invokable, invokable, method, methodLookupEngine, modifiers, modifiers, name, name, name
public RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion, NamingStrategy namingStrategy, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeDescription levelType, List<? extends TypeDescription> interfaceTypes, int modifiers, TypeAttributeAppender attributeAppender, ElementMatcher<? super MethodDescription> ignoredMethods, BridgeMethodResolver.Factory bridgeMethodResolverFactory, ClassVisitorWrapper.Chain classVisitorWrapperChain, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, MethodLookupEngine.Factory methodLookupEngineFactory, FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory, MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory, ClassFileLocator classFileLocator, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
classFileVersion
- The class file version for the created dynamic type.namingStrategy
- The naming strategy for naming the dynamic type.auxiliaryTypeNamingStrategy
- The naming strategy for naming auxiliary types of the dynamic type.levelType
- The type that is to be rebased.interfaceTypes
- A list of interfaces that should be implemented by the created dynamic type.modifiers
- The modifiers to be represented by the dynamic type.attributeAppender
- The attribute appender to apply onto the dynamic type that is created.ignoredMethods
- A matcher for determining methods that are to be ignored for instrumentation.bridgeMethodResolverFactory
- A factory for creating a bridge method resolver.classVisitorWrapperChain
- A chain of ASM class visitors to apply to the writing process.fieldRegistry
- The field registry to apply to the dynamic type creation.methodRegistry
- The method registry to apply to the dynamic type creation.methodLookupEngineFactory
- The method lookup engine factory to apply to the dynamic type creation.defaultFieldAttributeAppenderFactory
- The field attribute appender factory that should be applied by default if
no specific appender was specified for a given field.defaultMethodAttributeAppenderFactory
- The method attribute appender factory that should be applied by default
if no specific appender was specified for a given method.classFileLocator
- A locator for finding a class file to a given type.methodNameTransformer
- A name transformer that transforms names of any rebased method.protected RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion, NamingStrategy namingStrategy, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeDescription levelType, List<TypeDescription> interfaceTypes, int modifiers, TypeAttributeAppender attributeAppender, ElementMatcher<? super MethodDescription> ignoredMethods, BridgeMethodResolver.Factory bridgeMethodResolverFactory, ClassVisitorWrapper.Chain classVisitorWrapperChain, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, MethodLookupEngine.Factory methodLookupEngineFactory, FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory, MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory, List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens, List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens, ClassFileLocator classFileLocator, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
classFileVersion
- The class file version for the created dynamic type.namingStrategy
- The naming strategy for naming the dynamic type.auxiliaryTypeNamingStrategy
- The naming strategy for naming auxiliary types of the dynamic type.levelType
- The type that is to be rebased.interfaceTypes
- A list of interfaces that should be implemented by the created dynamic type.modifiers
- The modifiers to be represented by the dynamic type.attributeAppender
- The attribute appender to apply onto the dynamic type that is created.ignoredMethods
- A matcher for determining methods that are to be ignored for instrumentation.bridgeMethodResolverFactory
- A factory for creating a bridge method resolver.classVisitorWrapperChain
- A chain of ASM class visitors to apply to the writing process.fieldRegistry
- The field registry to apply to the dynamic type creation.methodRegistry
- The method registry to apply to the dynamic type creation.methodLookupEngineFactory
- The method lookup engine factory to apply to the dynamic type creation.defaultFieldAttributeAppenderFactory
- The field attribute appender factory that should be applied by default if
no specific appender was specified for a given field.defaultMethodAttributeAppenderFactory
- The method attribute appender factory that should be applied by default
if no specific appender was specified for a given method.fieldTokens
- A list of field representations that were added explicitly to this
dynamic type.methodTokens
- A list of method representations that were added explicitly to this
dynamic type.classFileLocator
- A locator for finding a class file to a given type.methodNameTransformer
- A name transformer that transforms names of any rebased method.protected DynamicType.Builder<T> materialize(ClassFileVersion classFileVersion, NamingStrategy namingStrategy, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeDescription levelType, List<TypeDescription> interfaceTypes, int modifiers, TypeAttributeAppender attributeAppender, ElementMatcher<? super MethodDescription> ignoredMethods, BridgeMethodResolver.Factory bridgeMethodResolverFactory, ClassVisitorWrapper.Chain classVisitorWrapperChain, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, MethodLookupEngine.Factory methodLookupEngineFactory, FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory, MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory, List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens, List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens)
DynamicType.Builder.AbstractBase
materialize
in class DynamicType.Builder.AbstractBase<T>
classFileVersion
- The class file version for the created dynamic type.namingStrategy
- The naming strategy for naming the dynamic type.auxiliaryTypeNamingStrategy
- The naming strategy for naming the auxiliary type of the dynamic type.levelType
- A description of the type that the dynamic type should represent.interfaceTypes
- A list of interfaces that should be implemented by the created dynamic type.modifiers
- The modifiers to be represented by the dynamic type.attributeAppender
- The attribute appender to apply onto the dynamic type that is created.ignoredMethods
- A matcher for determining methods that are to be ignored for implementation.bridgeMethodResolverFactory
- A factory for creating a bridge method resolver.classVisitorWrapperChain
- A chain of ASM class visitors to apply to the writing process.fieldRegistry
- The field registry to apply to the dynamic type creation.methodRegistry
- The method registry to apply to the dynamic type creation.methodLookupEngineFactory
- The method lookup engine factory to apply to the dynamic type creation.defaultFieldAttributeAppenderFactory
- The field attribute appender factory that should be applied by default if
no specific appender was specified for a given field.defaultMethodAttributeAppenderFactory
- The method attribute appender factory that should be applied by default
if no specific appender was specified for a given method.fieldTokens
- A list of field representations that were added explicitly to this
dynamic type.methodTokens
- A list of method representations that were added explicitly to this
dynamic type.public DynamicType.Unloaded<T> make()
DynamicType.Builder
public boolean equals(Object other)
equals
in class DynamicType.Builder.AbstractBase<T>
public int hashCode()
hashCode
in class DynamicType.Builder.AbstractBase<T>
Copyright © 2014–2015. All rights reserved.