public class SourceFile extends AbstractSourceCode implements groovy.lang.GroovyObject
DEFAULT_COMPILER_PHASE| Constructor and Description |
|---|
SourceFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
String |
getPath() |
Object |
getProperty(String property) |
String |
getText() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
getAst, getAstCompilerPhase, getLineNumberForCharacterIndex, getLines, getLOG, getMethodCallExpressions, getSEPARATOR_PROP, getSuppressionAnalyzer, isValid, line, normalizePath, setSuppressionAnalyzerpublic SourceFile(File file)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractSourceCodepublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractSourceCodepublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractSourceCodepublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractSourceCodepublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractSourceCodepublic String getName()
getName in interface SourceCodepublic String getPath()
getPath in interface SourceCodepublic String getText()
getText in interface SourceCodeCopyright © 2021. All rights reserved.