List of usage examples for org.objectweb.asm Opcodes ACC_FINAL
int ACC_FINAL
To view the source code for org.objectweb.asm Opcodes ACC_FINAL.
Click Source Link
From source file:org.formulacompiler.compiler.internal.bytecode.RootSectionCompiler.java
License:Open Source License
private void buildEnvironmentMember() { // Package visible so subsections can read it. newField(Opcodes.ACC_FINAL, ENV_MEMBER_NAME, ENV_DESC); }
From source file:org.formulacompiler.compiler.internal.bytecode.RootSectionCompiler.java
License:Open Source License
private void compileComputationMode() { if (!this.computationModeCompiled) { newField(Opcodes.ACC_FINAL, COMP_MODE_MEMBER_NAME, COMP_MODE_DESC); this.computationModeCompiled = true; }// w w w.ja v a2s . c o m }
From source file:org.formulacompiler.compiler.internal.bytecode.RootSectionCompiler.java
License:Open Source License
private void compileComputationTime() { if (!this.computationTimeCompiled) { newField(Opcodes.ACC_FINAL, COMP_TIME_MEMBER_NAME, COMP_TIME_DESC); if (hasReset()) { final GeneratorAdapter mv = resetter(); mv.loadThis();//ww w .j a va 2 s .c om mv.getField(classType(), COMP_TIME_MEMBER_NAME, COMP_TIME_CLASS); mv.invokeVirtual(COMP_TIME_CLASS, RESET_METHOD); } this.computationTimeCompiled = true; } }
From source file:org.formulacompiler.compiler.internal.bytecode.SectionCompiler.java
License:Open Source License
private void buildReset() { this.resetter = newMethod(Opcodes.ACC_FINAL | Opcodes.ACC_PUBLIC, "reset", "()V"); }
From source file:org.formulacompiler.compiler.internal.bytecode.SectionCompiler.java
License:Open Source License
private void buildInputMember() { if (!hasInputs()) throw new IllegalStateException(); newField(Opcodes.ACC_FINAL + Opcodes.ACC_PRIVATE, INPUTS_MEMBER_NAME, inputType().getDescriptor()); }
From source file:org.formulacompiler.compiler.internal.bytecode.SectionCompiler.java
License:Open Source License
private void buildSectionInfoMember() { if (!isComputationListenerEnabled()) throw new IllegalStateException(); newField(Opcodes.ACC_FINAL + Opcodes.ACC_PRIVATE, SECTION_INFO_MEMBER_NAME, SECTION_INFO_DESC); }
From source file:org.formulacompiler.compiler.internal.bytecode.SubSectionCompiler.java
License:Open Source License
private void buildParentMember() { // Package visible so subsections can read it. newField(Opcodes.ACC_FINAL, PARENT_MEMBER_NAME, parentType().getDescriptor()); }
From source file:org.formulacompiler.compiler.internal.bytecode.SubSectionCompiler.java
License:Open Source License
private void buildRootMember() { // Package visible so subsections can read it. newField(Opcodes.ACC_FINAL, ROOT_MEMBER_NAME, rootType().getDescriptor()); }
From source file:org.formulacompiler.compiler.internal.bytecode.SubSectionCompiler.java
License:Open Source License
private void buildIndex() { newField(Opcodes.ACC_PRIVATE + Opcodes.ACC_FINAL, INDEX_MEMBER_NAME, INDEX_TYPE.getDescriptor()); }
From source file:org.formulacompiler.compiler.internal.bytecode.SubSectionLazyGetterCompiler.java
License:Open Source License
SubSectionLazyGetterCompiler(SectionCompiler _section, SubSectionCompiler _sub) { super(_section, Opcodes.ACC_FINAL, _sub.getterName(), _sub.getterDescriptor()); this.sub = _sub; }