additional template method

This commit is contained in:
jhugunin 2003-01-22 01:06:59 +00:00
parent 1b7db2522c
commit c5b90daa74

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