浏览代码

additional template method

tags/V_1_1_b5
jhugunin 21 年前
父节点
当前提交
c5b90daa74
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java

+ 9
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java 查看文件

@@ -172,6 +172,9 @@ public class Clinit extends AbstractMethodDeclaration {
}
}
}
generatePostSyntheticCode(classScope, codeStream);
if (codeStream.position == 0) {
// do not need to output a Clinit if no bytecodes
// so we reset the offset inside the byte array contents.
@@ -212,6 +215,12 @@ public class Clinit extends AbstractMethodDeclaration {
codeStream.putstatic(this.assertionSyntheticFieldBinding);
}
}
protected void generatePostSyntheticCode(
ClassScope classScope,
CodeStream codeStream) {
}


public boolean isClinit() {


正在加载...
取消
保存