Package org.codenarc.source
Class SourceFile
java.lang.Object
org.codenarc.source.AbstractSourceCode
org.codenarc.source.SourceFile
- All Implemented Interfaces:
groovy.lang.GroovyObject
,SourceCode
-
Field Summary
Fields inherited from interface org.codenarc.source.SourceCode
DEFAULT_COMPILER_PHASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClass
getName()
getPath()
getProperty
(String property) getText()
invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
Methods inherited from class org.codenarc.source.AbstractSourceCode
getAst, getAstCompilerPhase, getLineNumberForCharacterIndex, getLines, getLOG, getMethodCallExpressions, getSEPARATOR_PROP, getSuppressionAnalyzer, isValid, line, normalizePath, setSuppressionAnalyzer
-
Constructor Details
-
SourceFile
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractSourceCode
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractSourceCode
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractSourceCode
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractSourceCode
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractSourceCode
-
getName
-
getPath
-
getText
-
toString
-