protected abstract static class Implementation.Context.Default.AbstractDelegationEntry extends TypeWriter.MethodPool.Entry.AbstractDefiningEntry implements ByteCodeAppender
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 |
AbstractDelegationEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyBody(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription methodDescription)
Applies the body of this entry.
|
void |
applyHead(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription methodDescription)
Applies the head of this entry.
|
TypeWriter.MethodPool.Entry.Sort |
getSort()
Returns the sort of this method instrumentation.
|
TypeWriter.MethodPool.Entry |
prepend(ByteCodeAppender byteCodeAppender)
Prepends the given method appender to this entry.
|
applyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic TypeWriter.MethodPool.Entry.Sort getSort()
TypeWriter.MethodPool.EntrygetSort in interface TypeWriter.MethodPool.Entrypublic void applyHead(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription methodDescription)
TypeWriter.MethodPool.EntryTypeWriter.MethodPool.Entry.Sort.SKIP.applyHead in interface TypeWriter.MethodPool.EntrymethodVisitor - The method visitor to which this entry should be applied.methodDescription - The method description of the instrumented method.public void applyBody(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription methodDescription)
TypeWriter.MethodPool.EntryTypeWriter.MethodPool.Entry.Sort.IMPLEMENT.applyBody in interface TypeWriter.MethodPool.EntrymethodVisitor - The method visitor to which this entry should be applied.implementationContext - The implementation context to which this entry should be applied.methodDescription - The method description of the instrumented method.public TypeWriter.MethodPool.Entry prepend(ByteCodeAppender byteCodeAppender)
TypeWriter.MethodPool.Entryprepend in interface TypeWriter.MethodPool.EntrybyteCodeAppender - The byte code appender to prepend.Copyright © 2014–2015. All rights reserved.