/**
* Bytecode generation for a <clinit> method
*
- * @param classScope org.eclipse.jdt.internal.compiler.lookup.ClassScope
- * @param classFile org.eclipse.jdt.internal.compiler.codegen.ClassFile
+ * @param classScope net.sourceforge.phpdt.internal.compiler.lookup.ClassScope
+ * @param classFile net.sourceforge.phpdt.internal.compiler.codegen.ClassFile
*/
// public void generateCode(ClassScope classScope, ClassFile classFile) {
//
/**
* Bytecode generation for a <clinit> method
*
- * @param classScope org.eclipse.jdt.internal.compiler.lookup.ClassScope
- * @param classFile org.eclipse.jdt.internal.compiler.codegen.ClassFile
+ * @param classScope net.sourceforge.phpdt.internal.compiler.lookup.ClassScope
+ * @param classFile net.sourceforge.phpdt.internal.compiler.codegen.ClassFile
*/
// private void generateCode(
// ClassScope classScope,
public void parseStatements(UnitParser parser, CompilationUnitDeclaration unit) {
//the clinit is filled by hand ....
}
+ public StringBuffer print(int tab, StringBuffer output) {
+ printIndent(tab, output).append("<clinit>()"); //$NON-NLS-1$
+ printBody(tab + 1, output);
+ return output;
+ }
public void resolve(ClassScope scope) {
this.scope = new MethodScope(scope, scope.referenceContext, true);