Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.asm.signature.SignatureReader
public class SignatureReader
extends Object
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
public SignatureReader(String signature)
Constructs aSignatureReader
for the given signature.
- Parameters:
signature
- A ClassSignature, MethodTypeSignature, or FieldTypeSignature.
public void accept(SignatureVisitor v)
Makes the given visitor visit the signature of thisSignatureReader
. This signature is the one specified in the constructor (seeSignatureReader
). This method is intended to be called on aSignatureReader
that was created using a ClassSignature (such as thesignature
parameter of theClassVisitor.visit
method) or a MethodTypeSignature (such as thesignature
parameter of theClassVisitor.visitMethod
method).
- Parameters:
v
- the visitor that must visit this signature.
public void acceptType(SignatureVisitor v)
Makes the given visitor visit the signature of thisSignatureReader
. This signature is the one specified in the constructor (seeSignatureReader
). This method is intended to be called on aSignatureReader
that was created using a FieldTypeSignature, such as thesignature
parameter of theClassVisitor.visitField
orMethodVisitor.visitLocalVariable
methods.
- Parameters:
v
- the visitor that must visit this signature.