public class SignatureReader extends Object
Constructor and Description |
---|
SignatureReader(String signature)
Constructs a
SignatureReader for the given signature. |
Modifier and Type | Method and Description |
---|---|
void |
accept(SignatureVisitor v)
Makes the given visitor visit the signature of this
SignatureReader . |
void |
acceptType(SignatureVisitor v)
Makes the given visitor visit the signature of this
SignatureReader . |
public SignatureReader(String signature)
SignatureReader
for the given signature.signature
- A ClassSignature, MethodTypeSignature,
or FieldTypeSignature.public void accept(SignatureVisitor v)
SignatureReader
. This signature is the one specified in the
constructor (see SignatureReader
). This
method is intended to be called on a SignatureReader
that was
created using a ClassSignature (such as the
signature
parameter of the
ClassVisitor.visit
method)
or a MethodTypeSignature (such as the signature
parameter of the
ClassVisitor.visitMethod
method).v
- the visitor that must visit this signature.public void acceptType(SignatureVisitor v)
SignatureReader
. This signature is the one specified in the
constructor (see SignatureReader
). This
method is intended to be called on a SignatureReader
that was
created using a FieldTypeSignature, such as the
signature
parameter of the
ClassVisitor.visitField
or MethodVisitor.visitLocalVariable
methods.v
- the visitor that must visit this signature.Copyright © 2018. All rights reserved.