本文整理了Java中org.objectweb.asm.tree.LocalVariableNode.accept()
方法的一些代码示例,展示了LocalVariableNode.accept()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LocalVariableNode.accept()
方法的具体详情如下:
包路径:org.objectweb.asm.tree.LocalVariableNode
类名称:LocalVariableNode
方法名:accept
[英]Makes the given visitor visit this local variable declaration.
[中]使给定访问者访问此局部变量声明。
代码示例来源:origin: kilim/kilim
private void visitLocals(MethodVisitor mv) {
for (Object l: methodFlow.localVariables) {
((LocalVariableNode)l).accept(mv);
}
}
代码示例来源:origin: org.ow2.asm/asm-debug-all
localVariables.get(i).accept(mv);
代码示例来源:origin: co.paralleluniverse/quasar
((LocalVariableNode) o).accept(mv);
代码示例来源:origin: org.ow2.asm/asm-tree
localVariables.get(i).accept(methodVisitor);
代码示例来源:origin: gradle.plugin.com.xk/wormhole-gradle
if (!startsInBody && !endsInBody) {
if (variable.index != 0) { // '#0' on init$args is not 'this'
variable.accept(initArgs);
variable.accept(body);
} else if (!startsInBody && endsInBody) {
variable.desc, variable.signature,
variable.start, labelBefore, variable.index);
var0.accept(initArgs);
var1.accept(body);
} else {
throw new IllegalStateException("Local variable starts after it ends.");
代码示例来源:origin: com.android.tools.build/gradle-core
if (!startsInBody && !endsInBody) {
if (variable.index != 0) { // '#0' on init$args is not 'this'
variable.accept(initArgs);
variable.accept(body);
} else if (!startsInBody && endsInBody) {
variable.desc, variable.signature,
variable.start, labelBefore, variable.index);
var0.accept(initArgs);
var1.accept(body);
} else {
throw new IllegalStateException("Local variable starts after it ends.");
内容来源于网络,如有侵权,请联系作者删除!