public static class Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForConstantValue extends Object implements Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForConstantValue, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForDescriptor, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForJavaSignature, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForMethodName, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation, Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForTypeName| Modifier | Constructor and Description |
|---|---|
protected |
ForConstantValue(String value)
Creates a new renderer for a constant value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Returns a string representation for this renderer.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
protected ForConstantValue(String value)
value - The constant value.public String apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Advice.Dispatcher.OffsetMapping.ForOrigin.Rendererapply in interface Advice.Dispatcher.OffsetMapping.ForOrigin.RendererinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.Copyright © 2014–2016. All rights reserved.