Browse Source

additional template method

tags/V_1_1_b5
jhugunin 21 years ago
parent
commit
c5b90daa74

+ 9
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java View File

@@ -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() {


Loading…
Cancel
Save