org.objectweb.asm.util
类 ASMifierAbstractVisitor

java.lang.Object
  继承者 org.objectweb.asm.util.AbstractVisitor
      继承者 org.objectweb.asm.util.ASMifierAbstractVisitor
直接已知子类:
ASMifierClassVisitor, ASMifierFieldVisitor, ASMifierMethodVisitor

public class ASMifierAbstractVisitor
extends AbstractVisitor

An abstract ASMifier visitor.

作者:
Eric Bruneton

字段摘要
protected  String name
          The name of the variable for this visitor in the produced code.
 
从类 org.objectweb.asm.util.AbstractVisitor 继承的字段
buf, OPCODES, text, TYPES
 
构造方法摘要
protected ASMifierAbstractVisitor(String name)
          Constructs a new ASMifierAbstractVisitor.
 
方法摘要
 AnnotationVisitor visitAnnotation(String desc, boolean visible)
          Prints the ASM code that generates the given annotation.
 void visitAttribute(Attribute attr)
          Prints the ASM code that generates the given attribute.
 void visitEnd()
          Prints the ASM code to end the visit.
 
从类 org.objectweb.asm.util.AbstractVisitor 继承的方法
appendString, getDefaultAttributes, getText, print
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

name

protected String name
The name of the variable for this visitor in the produced code.

构造方法详细信息

ASMifierAbstractVisitor

protected ASMifierAbstractVisitor(String name)
Constructs a new ASMifierAbstractVisitor.

参数:
name - the name of the variable for this visitor in the produced code.
方法详细信息

visitAnnotation

public AnnotationVisitor visitAnnotation(String desc,
                                         boolean visible)
Prints the ASM code that generates the given annotation.

参数:
desc - the class descriptor of the annotation class.
visible - true if the annotation is visible at runtime.
返回:
a visitor to visit the annotation values.

visitAttribute

public void visitAttribute(Attribute attr)
Prints the ASM code that generates the given attribute.

参数:
attr - an attribute.

visitEnd

public void visitEnd()
Prints the ASM code to end the visit.



Copyright © 2013. All Rights Reserved.