From: jhugunin Date: Wed, 22 Jan 2003 01:06:59 +0000 (+0000) Subject: additional template method X-Git-Tag: V_1_1_b5~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c5b90daa74db7a3278260de33625a75bdf0151e0;p=aspectj.git additional template method --- diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java index 3ce230c5c..8913672c7 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java +++ b/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() {