org.codenarc.source
Interface SourceCode
- All Known Implementing Classes:
- AbstractSourceCode, CustomCompilerPhaseSourceDecorator, SourceFile, SourceString
public interface SourceCode
DEFAULT_COMPILER_PHASE
static final int DEFAULT_COMPILER_PHASE
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()
Copyright © 2014. All Rights Reserved.