Examples of recordPositionsFrom()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

          // expand the last initializer variables to include the trailing return
          codeStream.updateLastRecordedEndPC(lastInitializerScope, before);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
    }
  }
 
  // AspectJ Extension
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

      codeStream.invokestatic(AjTypeConstants.getConversionMethodFromObject(classScope, returnType));
    } else {
      codeStream.checkcast(returnType);
    }
    AstUtil.generateReturn(returnType, codeStream);
    codeStream.recordPositionsFrom(0, 1);
    classFile.completeCodeAttribute(codeAttributeOffset);
    attributeNumber++;
    classFile.completeMethodInfo(methodAttributeOffset, attributeNumber);
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

    codeStream.reset(md, classFile);
    // body starts here
    gen.generate(codeStream);
    // body ends here
    if (codeStream.pcToSourceMapSize == 0) {
      codeStream.recordPositionsFrom(0, 1);
    }
    boolean b = ((codeStream.generateAttributes & ClassFileConstants.ATTR_VARS) != 0 ? true : false); // pr148693
    if (codeStream.maxLocals == 0) {
      codeStream.generateAttributes &= ~ClassFileConstants.ATTR_VARS;
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

          // expand the last initializer variables to include the trailing return
          codeStream.updateLastRecordedEndPC(lastInitializerScope, before);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
    }
  }

  public boolean isClinit() {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

          // expand the last initializer variables to include the trailing return
          codeStream.updateLastRecordedEndPC(lastInitializerScope, before);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
    }
  }

  public boolean isClinit() {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

      if ((this.bits & ASTNode.NeedFreeReturn) != 0) {
        int before = codeStream.position;
        codeStream.return_();
        if (sourcePosition != -1) {
          // expand the last initializer variables to include the trailing return
          codeStream.recordPositionsFrom(before, sourcePosition);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

          // expand the last initializer variables to include the trailing return
          codeStream.recordPositionsFrom(before, sourcePosition);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
    }
  }

  public boolean isClinit() {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

        codeStream.generateReturnBytecode(expression);
      }
    }
    // local variable attributes
    codeStream.exitUserScope(this.scope);
    codeStream.recordPositionsFrom(0, this.sourceEnd); // WAS declarationSourceEnd.
    try {
      classFile.completeCodeAttribute(codeAttributeOffset);
    } catch(NegativeArraySizeException e) {
      throw new AbortMethod(this.scope.referenceCompilationUnit().compilationResult, null);
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

      if ((this.bits & ASTNode.NeedFreeReturn) != 0) {
        int before = codeStream.position;
        codeStream.return_();
        if (sourcePosition != -1) {
          // expand the last initializer variables to include the trailing return
          codeStream.recordPositionsFrom(before, sourcePosition);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.codegen.CodeStream.recordPositionsFrom()

          // expand the last initializer variables to include the trailing return
          codeStream.recordPositionsFrom(before, sourcePosition);
        }
      }
      // Record the end of the clinit: point to the declaration of the class
      codeStream.recordPositionsFrom(0, declaringType.sourceStart);
      classFile.completeCodeAttributeForClinit(codeAttributeOffset);
    }
  }

  public boolean isClinit() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.