Package net.bytebuddy.asm
Enum Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName
- java.lang.Object
-
- java.lang.Enum<Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName>
-
- net.bytebuddy.asm.Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName>
,Advice.OffsetMapping.ForOrigin.Renderer
- Enclosing interface:
- Advice.OffsetMapping.ForOrigin.Renderer
public static enum Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName extends java.lang.Enum<Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName> implements Advice.OffsetMapping.ForOrigin.Renderer
A renderer for a method's return type in binary form.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.OffsetMapping.ForOrigin.Renderer
Advice.OffsetMapping.ForOrigin.Renderer.ForConstantValue, Advice.OffsetMapping.ForOrigin.Renderer.ForDescriptor, Advice.OffsetMapping.ForOrigin.Renderer.ForJavaSignature, Advice.OffsetMapping.ForOrigin.Renderer.ForMethodName, Advice.OffsetMapping.ForOrigin.Renderer.ForPropertyName, Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName, Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation, Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Field Summary
Fields Modifier and Type Field Description static char
SYMBOL
The return type symbol.
-
Constructor Summary
Constructors Modifier Constructor Description private
ForReturnTypeName()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Returns a string representation for this renderer.static Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName INSTANCE
The singleton instance.
-
-
Field Detail
-
SYMBOL
public static final char SYMBOL
The return type symbol.- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName c : Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
apply
public java.lang.String apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Returns a string representation for this renderer.- Specified by:
apply
in interfaceAdvice.OffsetMapping.ForOrigin.Renderer
- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.- Returns:
- The string representation.
-
-