Class JRDefaultCompilationSourceCode

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Returns the source code.
      JRExpression getExpressionAtLine​(int line)
      Determines whether a line of code corresponds to a report expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JRDefaultCompilationSourceCode

        public JRDefaultCompilationSourceCode​(java.lang.String sourceCode,
                                              JRExpression[] lineExpressions)
        Constructor.
        Parameters:
        sourceCode - the source code.
        lineExpressions - an array of expressions corresponding to line numbers. Can be null.