Class StringSourceAnalyzer
java.lang.Object
org.codenarc.analyzer.AbstractSourceAnalyzer
org.codenarc.analyzer.StringSourceAnalyzer
- All Implemented Interfaces:
groovy.lang.GroovyObject, SourceAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) voidsetSource(SourceString value) Methods inherited from class AbstractSourceAnalyzer
collectViolations
-
Constructor Details
-
StringSourceAnalyzer
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractSourceAnalyzer
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractSourceAnalyzer
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractSourceAnalyzer
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractSourceAnalyzer
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractSourceAnalyzer
-
getSource
-
setSource
-
analyze
-
getSourceDirectories
-