public class SignatureReader
extends java.lang.Object
Constructor and Description |
---|
SignatureReader(java.lang.String signature)
Constructs a
SignatureReader for the given signature. |
Modifier and Type | Method and Description |
---|---|
void |
accept(SignatureVisitor signatureVistor)
Makes the given visitor visit the signature of this
SignatureReader . |
void |
acceptType(SignatureVisitor signatureVisitor)
Makes the given visitor visit the signature of this
SignatureReader . |
public SignatureReader(java.lang.String signature)
SignatureReader
for the given signature.signature
- A JavaTypeSignature, ClassSignature or MethodSignature.public void accept(SignatureVisitor signatureVistor)
SignatureReader
. This signature is
the one specified in the constructor (see SignatureReader(java.lang.String)
). 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 MethodSignature (such as the signature
parameter of the ClassVisitor#visitMethod
method).signatureVistor
- the visitor that must visit this signature.public void acceptType(SignatureVisitor signatureVisitor)
SignatureReader
. This signature is
the one specified in the constructor (see SignatureReader(java.lang.String)
). This method is intended to
be called on a SignatureReader
that was created using a JavaTypeSignature, such
as the signature
parameter of the ClassVisitor#visitField
or MethodVisitor#visitLocalVariable
methods.signatureVisitor
- the visitor that must visit this signature.Copyright © 2003-present Jodd Team