Package net.bytebuddy.asm
Enum Class Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName
java.lang.Object
java.lang.Enum<Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName>
net.bytebuddy.asm.Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName
- All Implemented Interfaces:
Serializable
,Comparable<Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName>
,Constable
,Advice.OffsetMapping.ForOrigin.Renderer
- Enclosing interface:
Advice.OffsetMapping.ForOrigin.Renderer
public static enum Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName
extends Enum<Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName>
implements Advice.OffsetMapping.ForOrigin.Renderer
A renderer for a method declaring type's binary name.
-
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 type name symbol.- See Also:
-
-
Constructor Details
-
ForTypeName
private ForTypeName()
-
-
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.
-