public class SignatureReader
A parser for signature literals, as defined in the Java Virtual Machine Specification (JVMS), to
visit them with a SignatureVisitor.
public | SignatureReader( Constructs a SignatureReader for the given signature. |
public void | accept( Makes the given visitor visit the signature of this SignatureReader. |
public void | acceptType( Makes the given visitor visit the signature of this SignatureReader. |
Constructs a SignatureReader for the given signature.
signatureA JavaTypeSignature, ClassSignature or MethodSignature.
Makes the given visitor visit the signature of this SignatureReader. This signature is
the one specified in the constructor (see SignatureReader(String) ). This method is intended to
be called on a SignatureReader that was created using a ClassSignature (such as
the int, int, String, String, String, String[])
method) or a MethodSignature (such as the int, String, String, String, String[]) method).
signature
parameter of the ClassVisitor.visit(signature
parameter of the ClassVisitor.visitMethod(signatureVistorthe visitor that must visit this signature.
Makes the given visitor visit the signature of this SignatureReader. This signature is
the one specified in the constructor (see SignatureReader(String) ). This method is intended to
be called on a SignatureReader that was created using a JavaTypeSignature, such
as the int, String, String, String, Object) or MethodVisitor.visitLocalVariable(String, String, String, Label, Label, int) methods.
signature
parameter of the ClassVisitor.visitField(signatureVisitorthe visitor that must visit this signature.