public class StringSourceAnalyzer extends AbstractSourceAnalyzer
Constructor and Description |
---|
StringSourceAnalyzer(String source) |
Modifier and Type | Method and Description |
---|---|
Results |
analyze(RuleSet ruleSet) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
SourceString |
getSource() |
List |
getSourceDirectories() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
setSource(SourceString value) |
collectViolations
public StringSourceAnalyzer(String source)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractSourceAnalyzer
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractSourceAnalyzer
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractSourceAnalyzer
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractSourceAnalyzer
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractSourceAnalyzer
public SourceString getSource()
public void setSource(SourceString value)
public List getSourceDirectories()
Copyright © 2023. All rights reserved.