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 SourceCode
DEFAULT_COMPILER_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetName()getPath()getProperty(String property) getText()invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) toString()Methods inherited from class 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:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractSourceCode
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractSourceCode
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractSourceCode
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractSourceCode
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractSourceCode
-
getName
-
getPath
-
getText
-
toString
-