From c5b90daa74db7a3278260de33625a75bdf0151e0 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Wed, 22 Jan 2003 01:06:59 +0000 Subject: [PATCH] additional template method --- .../org/eclipse/jdt/internal/compiler/ast/Clinit.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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() { -- 2.39.5