groovy.lang.GroovyObject, SourceCodeCustomCompilerPhaseSourceDecorator, SourceFile, SourceStringpublic abstract class AbstractSourceCode extends Object implements SourceCode, groovy.lang.GroovyObject
DEFAULT_COMPILER_PHASE| Constructor | Description |
|---|---|
AbstractSourceCode() |
| Modifier and Type | Method | Description |
|---|---|---|
org.codehaus.groovy.ast.ModuleNode |
getAst() |
|
int |
getAstCompilerPhase() |
|
int |
getLineNumberForCharacterIndex(int charIndex) |
|
List |
getLines() |
|
static org.slf4j.Logger |
getLOG() |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>> |
getMethodCallExpressions() |
|
Object |
getProperty(String property) |
|
static String |
getSEPARATOR_PROP() |
|
SuppressionAnalyzer |
getSuppressionAnalyzer() |
|
Object |
invokeMethod(String method,
Object arguments) |
|
boolean |
isValid() |
|
String |
line(int lineNumber) |
|
protected String |
normalizePath(String path) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
|
protected void |
setSuppressionAnalyzer(SuppressionAnalyzer suppressionAnalyzer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getPath, getTextpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic static org.slf4j.Logger getLOG()
public static String getSEPARATOR_PROP()
public SuppressionAnalyzer getSuppressionAnalyzer()
getSuppressionAnalyzer in interface SourceCodeprotected void setSuppressionAnalyzer(SuppressionAnalyzer suppressionAnalyzer)
public List getLines()
getLines in interface SourceCodepublic String line(int lineNumber)
line in interface SourceCodepublic org.codehaus.groovy.ast.ModuleNode getAst()
getAst in interface SourceCodepublic int getAstCompilerPhase()
getAstCompilerPhase in interface SourceCodepublic Map<org.codehaus.groovy.ast.ClassNode,List<org.codehaus.groovy.ast.expr.MethodCallExpression>> getMethodCallExpressions()
getMethodCallExpressions in interface SourceCodepublic int getLineNumberForCharacterIndex(int charIndex)
getLineNumberForCharacterIndex in interface SourceCodepublic boolean isValid()
isValid in interface SourceCodeCopyright © 2019. All rights reserved.