|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.asm.signature.SignatureReader
public class SignatureReader
A type signature parser to make a signature visitor visit an existing signature.
Constructor Summary | |
---|---|
SignatureReader(String signature)
Constructs a SignatureReader for the given signature. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureReader(String signature)
SignatureReader
for the given signature.
signature
- A ClassSignature, MethodTypeSignature,
or FieldTypeSignature.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |