public static enum TypeWriter.MethodPool.Entry.ForSkippedMethod extends Enum<TypeWriter.MethodPool.Entry.ForSkippedMethod> implements TypeWriter.MethodPool.Entry
TypeWriter.MethodPool.Entry.AbstractDefiningEntry, TypeWriter.MethodPool.Entry.ForAbstractMethod, TypeWriter.MethodPool.Entry.ForAnnotationDefaultValue, TypeWriter.MethodPool.Entry.ForImplementation, TypeWriter.MethodPool.Entry.ForSkippedMethod, TypeWriter.MethodPool.Entry.Sort| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| 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.
|
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.
|
String |
toString() |
static TypeWriter.MethodPool.Entry.ForSkippedMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeWriter.MethodPool.Entry.ForSkippedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeWriter.MethodPool.Entry.ForSkippedMethod INSTANCE
public static TypeWriter.MethodPool.Entry.ForSkippedMethod[] values()
for (TypeWriter.MethodPool.Entry.ForSkippedMethod c : TypeWriter.MethodPool.Entry.ForSkippedMethod.values()) System.out.println(c);
public static TypeWriter.MethodPool.Entry.ForSkippedMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void apply(ClassVisitor classVisitor, Implementation.Context implementationContext, MethodDescription methodDescription)
TypeWriter.MethodPool.Entryapply in interface TypeWriter.MethodPool.EntryclassVisitor - 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.public void applyBody(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 void applyHead(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 TypeWriter.MethodPool.Entry.Sort getSort()
TypeWriter.MethodPool.EntrygetSort in interface TypeWriter.MethodPool.Entrypublic TypeWriter.MethodPool.Entry prepend(ByteCodeAppender byteCodeAppender)
TypeWriter.MethodPool.Entryprepend in interface TypeWriter.MethodPool.EntrybyteCodeAppender - The byte code appender to prepend.public String toString()
toString in class Enum<TypeWriter.MethodPool.Entry.ForSkippedMethod>Copyright © 2014–2015. All rights reserved.