protected static class Implementation.Context.Default.AccessorMethodDelegation extends Implementation.Context.Default.AbstractDelegationEntry
TypeWriter.MethodPool.Entry for implementing
an accessor method.ByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.SizeTypeWriter.MethodPool.Entry.AbstractDefiningEntry, TypeWriter.MethodPool.Entry.ForAbstractMethod, TypeWriter.MethodPool.Entry.ForAnnotationDefaultValue, TypeWriter.MethodPool.Entry.ForImplementation, TypeWriter.MethodPool.Entry.ForSkippedMethod, TypeWriter.MethodPool.Entry.Sort| Modifier | Constructor and Description |
|---|---|
protected |
AccessorMethodDelegation(StackManipulation accessorMethodInvocation)
Creates a new accessor method delegation.
|
| Modifier and Type | Method and Description |
|---|---|
ByteCodeAppender.Size |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription instrumentedMethod)
Applies this byte code appender to a type creation process.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
applyBody, applyHead, getSort, prependapplyprotected AccessorMethodDelegation(StackManipulation accessorMethodInvocation)
accessorMethodInvocation - The stack manipulation that represents the requested special method
invocation.public ByteCodeAppender.Size apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod)
ByteCodeAppendermethodVisitor - The method visitor to which the byte code appender writes its code to.implementationContext - The implementation context of the current type creation process.instrumentedMethod - The method that is the target of the instrumentation.Copyright © 2014–2015. All rights reserved.