Package net.bytebuddy.asm
Enum Class 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:
Serializable
,Comparable<Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName>
,Constable
,Advice.OffsetMapping.ForOrigin.Renderer
- Enclosing interface:
Advice.OffsetMapping.ForOrigin.Renderer
public static enum Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName
extends 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 class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Field Details
-
SYMBOL
public static final char SYMBOLThe return type symbol.- See Also:
-
-
Constructor Details
-
ForReturnTypeName
private ForReturnTypeName()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
apply
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.
-