本文整理汇总了Java中org.objectweb.asm.util.attrs.Traceable类的典型用法代码示例。如果您正苦于以下问题:Java Traceable类的具体用法?Java Traceable怎么用?Java Traceable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Traceable类属于org.objectweb.asm.util.attrs包,在下文中一共展示了Traceable类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: visitAttribute
点赞 3
import org.objectweb.asm.util.attrs.Traceable; //导入依赖的package包/类
public void visitAttribute(final Attribute attr) {
buf.setLength(0);
buf.append(tab).append("ATTRIBUTE ");
appendDescriptor(-1, attr.type);
if (attr instanceof Traceable) {
((Traceable) attr).trace(buf, labelNames);
} else {
buf.append(" : ").append(attr.toString()).append("\n");
}
text.add(buf.toString());
if (mv != null) {
mv.visitAttribute(attr);
}
}
开发者ID:vilie,
项目名称:javify,
代码行数:17,
代码来源:TraceMethodVisitor.java
示例2: visitAttribute
点赞 2
import org.objectweb.asm.util.attrs.Traceable; //导入依赖的package包/类
/**
* Prints a disassembled view of the given attribute.
*
* @param attr an attribute.
*/
public void visitAttribute(final Attribute attr) {
buf.setLength(0);
buf.append(tab).append("ATTRIBUTE ");
appendDescriptor(-1, attr.type);
if (attr instanceof Traceable) {
((Traceable) attr).trace(buf, null);
} else {
buf.append(" : ").append(attr.toString()).append("\n");
}
text.add(buf.toString());
}
开发者ID:vilie,
项目名称:javify,
代码行数:19,
代码来源:TraceAbstractVisitor.java
示例3: visitAttribute
点赞 2
import org.objectweb.asm.util.attrs.Traceable; //导入依赖的package包/类
/**
* Prints a disassembled view of the given attribute.
*
* @param attr an attribute.
*/
public void visitAttribute(final Attribute attr) {
buf.setLength(0);
buf.append(tab).append("ATTRIBUTE ");
appendDescriptor(-1, attr.type);
if (attr instanceof Traceable) {
((Traceable) attr).trace(buf, null);
} else {
buf.append(" : ").append(attr.toString()).append("\n");
}
text.add(buf.toString());
}
开发者ID:nmldiegues,
项目名称:jvm-stm,
代码行数:19,
代码来源:TraceAbstractVisitor.java