protected abstract static class Implementation.Context.Default.AbstractDelegationEntry extends TypeWriter.MethodPool.Entry.AbstractDefiningEntry implements ByteCodeAppender
ByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.Size
TypeWriter.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(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription methodDescription)
Applies the body of this entry.
|
void |
applyHead(MethodVisitor methodVisitor,
MethodDescription methodDescription)
Applies the head of this entry.
|
ModifierResolver |
getModifierResolver()
Returns this entry's modifier transformer.
|
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.
|
apply
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public TypeWriter.MethodPool.Entry.Sort getSort()
TypeWriter.MethodPool.Entry
getSort
in interface TypeWriter.MethodPool.Entry
public ModifierResolver getModifierResolver()
TypeWriter.MethodPool.Entry
getModifierResolver
in interface TypeWriter.MethodPool.Entry
public void applyHead(MethodVisitor methodVisitor, MethodDescription methodDescription)
TypeWriter.MethodPool.Entry
TypeWriter.MethodPool.Entry.Sort.SKIP
.applyHead
in interface TypeWriter.MethodPool.Entry
methodVisitor
- The method visitor to which this entry should be applied.methodDescription
- The method description of the instrumented method.public void applyBody(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription methodDescription)
TypeWriter.MethodPool.Entry
TypeWriter.MethodPool.Entry.Sort.IMPLEMENT
.applyBody
in interface TypeWriter.MethodPool.Entry
methodVisitor
- 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.Entry
prepend
in interface TypeWriter.MethodPool.Entry
byteCodeAppender
- The byte code appender to prepend.Copyright © 2014–2015. All rights reserved.