Pārlūkot izejas kodu

additional template method

tags/V_1_1_b5
jhugunin pirms 21 gadiem
vecāks
revīzija
c5b90daa74

+ 9
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt