Class SignatureReader
java.lang.Object
org.objectweb.asm.signature.SignatureReader
A type signature parser to make a signature visitor visit an existing
signature.
- Author:
- Thomas Hallgren, Eric Bruneton
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureReader(String signature) Constructs aSignatureReaderfor the given signature. -
Method Summary
Modifier and TypeMethodDescriptionvoidMakes the given visitor visit the signature of thisSignatureReader.voidMakes the given visitor visit the signature of thisSignatureReader.
-
Constructor Details
-
SignatureReader
Constructs aSignatureReaderfor the given signature.- Parameters:
signature- A ClassSignature, MethodTypeSignature, or FieldTypeSignature.
-
-
Method Details
-
accept
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 aSignatureReaderthat was created using a ClassSignature (such as thesignatureparameter of theClassVisitor.visitmethod) or a MethodTypeSignature (such as thesignatureparameter of theClassVisitor.visitMethodmethod).- Parameters:
v- the visitor that must visit this signature.
-
acceptType
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 aSignatureReaderthat was created using a FieldTypeSignature, such as thesignatureparameter of theClassVisitor.visitFieldorMethodVisitor.visitLocalVariablemethods.- Parameters:
v- the visitor that must visit this signature.
-