public static enum MethodRegistry.Handler.ForAbstractMethod extends Enum<MethodRegistry.Handler.ForAbstractMethod> implements MethodRegistry.Handler, MethodRegistry.Handler.Compiled
MethodRegistry.Handler.Compiled, MethodRegistry.Handler.ForAbstractMethod, MethodRegistry.Handler.ForAnnotationValue, MethodRegistry.Handler.ForImplementation
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeWriter.MethodPool.Entry |
assemble(MethodAttributeAppender attributeAppender)
Assembles this compiled entry with a method attribute appender.
|
MethodRegistry.Handler.Compiled |
compile(Implementation.Target implementationTarget)
Compiles this handler.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type for this handler.
|
String |
toString() |
static MethodRegistry.Handler.ForAbstractMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodRegistry.Handler.ForAbstractMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodRegistry.Handler.ForAbstractMethod INSTANCE
public static MethodRegistry.Handler.ForAbstractMethod[] values()
for (MethodRegistry.Handler.ForAbstractMethod c : MethodRegistry.Handler.ForAbstractMethod.values()) System.out.println(c);
public static MethodRegistry.Handler.ForAbstractMethod 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 InstrumentedType prepare(InstrumentedType instrumentedType)
MethodRegistry.Handler
prepare
in interface MethodRegistry.Handler
instrumentedType
- The instrumented type to prepare.public MethodRegistry.Handler.Compiled compile(Implementation.Target implementationTarget)
MethodRegistry.Handler
compile
in interface MethodRegistry.Handler
implementationTarget
- The implementation target to compile this handler for.public TypeWriter.MethodPool.Entry assemble(MethodAttributeAppender attributeAppender)
MethodRegistry.Handler.Compiled
assemble
in interface MethodRegistry.Handler.Compiled
attributeAppender
- The method attribute appender to apply together with this handler.public String toString()
toString
in class Enum<MethodRegistry.Handler.ForAbstractMethod>
Copyright © 2014–2015. All rights reserved.