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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SourceFile
public SourceFile(java.io.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 java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class AbstractSourceCode
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class AbstractSourceCode
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class AbstractSourceCode
getName
public java.lang.String getName()
getPath
public java.lang.String getPath()
getText
public java.lang.String getText()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.