Package net.bytebuddy.description
Interface ByteCodeElement.Token<T extends ByteCodeElement.Token<T>>
- Type Parameters:
T
- The type of the implementation.
- All Known Implementing Classes:
FieldDescription.Token
,MethodDescription.Token
,ParameterDescription.Token
,RecordComponentDescription.Token
,TypeVariableToken
- Enclosing interface:
- ByteCodeElement
public static interface ByteCodeElement.Token<T extends ByteCodeElement.Token<T>>
A token representing a byte code element.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A list of tokens. -
Method Summary
Modifier and TypeMethodDescriptionaccept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.
-
Method Details
-
accept
Transforms the types represented by this token by applying the given visitor to them.- Parameters:
visitor
- The visitor to transform all types that are represented by this token.- Returns:
- This token with all of its represented types transformed by the supplied visitor.
-