public static interface TypeWriter.MethodPool.Entry
TypeWriter.MethodPool| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeWriter.MethodPool.Entry.AbstractDefiningEntry
A base implementation of an abstract entry that defines a method.
|
static class |
TypeWriter.MethodPool.Entry.ForAbstractMethod
Describes an entry that defines a method but without byte code and without an annotation value.
|
static class |
TypeWriter.MethodPool.Entry.ForAnnotationDefaultValue
Describes an entry that defines a method with a default annotation value.
|
static class |
TypeWriter.MethodPool.Entry.ForImplementation
Describes an entry that defines a method as byte code.
|
static class |
TypeWriter.MethodPool.Entry.ForSkippedMethod
A canonical implementation of a skipped method.
|
static class |
TypeWriter.MethodPool.Entry.Sort
The sort of an entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
Implementation.Context implementationContext,
MethodDescription methodDescription)
Applies this method entry.
|
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.
|
TypeWriter.MethodPool.Entry.Sort getSort()
ModifierResolver getModifierResolver()
TypeWriter.MethodPool.Entry prepend(ByteCodeAppender byteCodeAppender)
byteCodeAppender - The byte code appender to prepend.void apply(ClassVisitor classVisitor, Implementation.Context implementationContext, MethodDescription methodDescription)
classVisitor - The class 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.void applyHead(MethodVisitor methodVisitor, MethodDescription methodDescription)
TypeWriter.MethodPool.Entry.Sort.SKIP.methodVisitor - The method visitor to which this entry should be applied.methodDescription - The method description of the instrumented method.void applyBody(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription methodDescription)
TypeWriter.MethodPool.Entry.Sort.IMPLEMENT.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.Copyright © 2014–2015. All rights reserved.