org.objectweb.asm.signature
类 SignatureReader

java.lang.Object
  继承者 org.objectweb.asm.signature.SignatureReader

public class SignatureReader
extends Object

A type signature parser to make a signature visitor visit an existing signature.

作者:
Thomas Hallgren, Eric Bruneton

构造方法摘要
SignatureReader(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.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SignatureReader

public SignatureReader(String signature)
Constructs a SignatureReader for the given signature.

参数:
signature - A ClassSignature, MethodTypeSignature, or FieldTypeSignature.
方法详细信息

accept

public void accept(SignatureVisitor v)
Makes the given visitor visit the signature of this 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.

acceptType

public void acceptType(SignatureVisitor v)
Makes the given visitor visit the signature of this 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.


Copyright © 2013. All Rights Reserved.