public static enum Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation extends Enum<Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation> implements Advice.OffsetMapping.ForOrigin.Renderer
Object.toString()
representation.Advice.OffsetMapping.ForOrigin.Renderer.ForConstantValue, Advice.OffsetMapping.ForOrigin.Renderer.ForDescriptor, Advice.OffsetMapping.ForOrigin.Renderer.ForJavaSignature, Advice.OffsetMapping.ForOrigin.Renderer.ForMethodName, Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName, Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation, Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
String |
apply(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Returns a string representation for this renderer.
|
static Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation INSTANCE
public static Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation[] values()
for (Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation c : Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation.values()) System.out.println(c);
public static Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation 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 String apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
apply
in interface Advice.OffsetMapping.ForOrigin.Renderer
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2020. All rights reserved.