Interface SourceCode

All Known Implementing Classes:
AbstractSourceCode, CustomCompilerPhaseSourceDecorator, SourceFile, SourceString

public interface SourceCode
  • Field Details

    • DEFAULT_COMPILER_PHASE

      static final int DEFAULT_COMPILER_PHASE
  • Method Details

    • getSuppressionAnalyzer

      SuppressionAnalyzer getSuppressionAnalyzer()
    • getName

      String getName()
    • getPath

      String getPath()
    • getText

      String getText()
    • getLines

      List<String> getLines()
    • line

      String line(int lineNumber)
    • getAst

      org.codehaus.groovy.ast.ModuleNode getAst()
    • getAstCompilerPhase

      int getAstCompilerPhase()
    • getLineNumberForCharacterIndex

      int getLineNumberForCharacterIndex(int charIndex)
    • isValid

      boolean isValid()
    • getMethodCallExpressions

      Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>> getMethodCallExpressions()