public static class InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation extends Object implements InlineDynamicTypeBuilder.TargetHandler.Prepared
| Modifier and Type | Class and Description |
|---|---|
protected static class |
InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation.MethodRebaseDelegation
A method pool entry with a rebase implementation as its default behavior.
|
InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation, InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRedefinitionInstrumentation| Modifier | Constructor and Description |
|---|---|
protected |
ForRebaseInstrumentation(DynamicType placeholderType,
ElementMatcher<? super MethodDescription> ignoredMethods,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new prepared target handler for a rebase instrumentation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Instrumentation.Target.Factory |
factory(BridgeMethodResolver.Factory bridgeMethodResolverFactory)
Creates an instrumentation target factory that is to be used when creating the type.
|
List<DynamicType> |
getAuxiliaryTypes()
Returns a list of explicitly registered auxiliary types.
|
TypeWriter.MethodPool.Entry.Factory |
getMethodPoolEntryDefault()
Returns the method pool entry that should be used as a default.
|
MethodRebaseResolver |
getMethodRebaseResolver()
Returns the method rebase resolver to be used when creating the dynamic type.
|
int |
hashCode() |
static InlineDynamicTypeBuilder.TargetHandler.Prepared |
of(ElementMatcher<? super MethodDescription> ignoredMethods,
ClassFileVersion classFileVersion,
TypeDescription instrumentedType,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a target handler for a rebase instrumentation.
|
String |
toString() |
protected ForRebaseInstrumentation(DynamicType placeholderType, ElementMatcher<? super MethodDescription> ignoredMethods, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
placeholderType - The placeholder type to use for rebasing constructors.ignoredMethods - The methods that should be ignored for rebasing.methodNameTransformer - The method name transformer to be applied by the created
method rebase resolver.public static InlineDynamicTypeBuilder.TargetHandler.Prepared of(ElementMatcher<? super MethodDescription> ignoredMethods, ClassFileVersion classFileVersion, TypeDescription instrumentedType, MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
ignoredMethods - The methods that should be ignored for rebasing.classFileVersion - The class file version for the created dynamic type.instrumentedType - The instrumented type.methodNameTransformer - The method name transformer to be applied by the created
method rebase resolver.public Instrumentation.Target.Factory factory(BridgeMethodResolver.Factory bridgeMethodResolverFactory)
InlineDynamicTypeBuilder.TargetHandler.Preparedfactory in interface InlineDynamicTypeBuilder.TargetHandler.PreparedbridgeMethodResolverFactory - A bridge method resolver factory.public List<DynamicType> getAuxiliaryTypes()
InlineDynamicTypeBuilder.TargetHandler.PreparedgetAuxiliaryTypes in interface InlineDynamicTypeBuilder.TargetHandler.Preparedpublic MethodRebaseResolver getMethodRebaseResolver()
InlineDynamicTypeBuilder.TargetHandler.PreparedgetMethodRebaseResolver in interface InlineDynamicTypeBuilder.TargetHandler.Preparedpublic TypeWriter.MethodPool.Entry.Factory getMethodPoolEntryDefault()
InlineDynamicTypeBuilder.TargetHandler.PreparedgetMethodPoolEntryDefault in interface InlineDynamicTypeBuilder.TargetHandler.PreparedCopyright © 2014. All rights reserved.