org.codenarc.source
Class SourceFile
java.lang.Object
org.codenarc.source.AbstractSourceCode
org.codenarc.source.SourceFile
- All Implemented Interfaces:
- groovy.lang.GroovyObject, SourceCode
public class SourceFile
- extends AbstractSourceCode
- implements groovy.lang.GroovyObject
| Methods inherited from class org.codenarc.source.AbstractSourceCode |
getAst, getAstCompilerPhase, getLineNumberForCharacterIndex, getLines, getLOG, getMethodCallExpressions, getSEPARATOR_PROP, getSuppressionAnalyzer, isValid, line, normalizePath, setSuppressionAnalyzer |
SourceFile
public SourceFile(File file)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class AbstractSourceCode
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class AbstractSourceCode
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class AbstractSourceCode
getProperty
public Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class AbstractSourceCode
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class AbstractSourceCode
getName
public String getName()
- Specified by:
getName in interface SourceCode
getPath
public String getPath()
- Specified by:
getPath in interface SourceCode
getText
public String getText()
- Specified by:
getText in interface SourceCode
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.