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 Classes Modifier and Type Interface Description static class
ByteCodeElement.Token.TokenList<S extends ByteCodeElement.Token<S>>
A list of tokens.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the types represented by this token by applying the given visitor to them.
-
-
-
Method Detail
-
accept
T accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
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.
-
-