public class SignatureReader
extends java.lang.Object
| 构造器和说明 |
|---|
SignatureReader(java.lang.String signature)
Constructs a
SignatureReader for the given signature. |
| 限定符和类型 | 方法和说明 |
|---|---|
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(java.lang.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.