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.
  • 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.