protected abstract static class Implementation.Context.Default.AbstractDelegationRecord extends TypeWriter.MethodPool.Record.ForDefinedMethod implements ByteCodeAppender
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge, TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue, TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody, TypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBodyByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.SizeTypeWriter.MethodPool.Record.AccessBridgeWrapper, TypeWriter.MethodPool.Record.ForDefinedMethod, TypeWriter.MethodPool.Record.ForNonDefinedMethod, TypeWriter.MethodPool.Record.Sort| Modifier and Type | Field and Description |
|---|---|
protected MethodDescription |
methodDescription
The delegation method.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegationRecord(MethodDescription methodDescription)
Creates a new delegation record.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyBody(MethodVisitor methodVisitor,
Implementation.Context implementationContext)
Applies the body of this entry.
|
void |
applyHead(MethodVisitor methodVisitor)
Applies the head of this entry.
|
boolean |
equals(Object other) |
MethodDescription |
getImplementedMethod()
Returns the method that is implemented where the returned method ressembles a potential transformation.
|
TypeWriter.MethodPool.Record.Sort |
getSort()
Returns the sort of this method instrumentation.
|
int |
hashCode() |
TypeWriter.MethodPool.Record |
prepend(ByteCodeAppender byteCodeAppender)
Prepends the given method appender to this entry.
|
applyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitapplyprotected final MethodDescription methodDescription
protected AbstractDelegationRecord(MethodDescription methodDescription)
methodDescription - The delegation method.public MethodDescription getImplementedMethod()
TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.Sort.SKIPPED.getImplementedMethod in interface TypeWriter.MethodPool.Recordpublic TypeWriter.MethodPool.Record.Sort getSort()
TypeWriter.MethodPool.RecordgetSort in interface TypeWriter.MethodPool.Recordpublic void applyHead(MethodVisitor methodVisitor)
TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.Sort.SKIPPED.applyHead in interface TypeWriter.MethodPool.RecordmethodVisitor - The method visitor to which this entry should be applied.public void applyBody(MethodVisitor methodVisitor, Implementation.Context implementationContext)
TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.Sort.IMPLEMENTED.applyBody in interface TypeWriter.MethodPool.RecordmethodVisitor - The method visitor to which this entry should be applied.implementationContext - The implementation context to which this entry should be applied.public TypeWriter.MethodPool.Record prepend(ByteCodeAppender byteCodeAppender)
TypeWriter.MethodPool.Recordprepend in interface TypeWriter.MethodPool.RecordbyteCodeAppender - The byte code appender to prepend.Copyright © 2014–2015. All rights reserved.