Class FilesystemSourceAnalyzer
java.lang.Object
org.codenarc.analyzer.AbstractSourceAnalyzer
org.codenarc.analyzer.FilesystemSourceAnalyzer
- All Implemented Interfaces:
groovy.lang.GroovyObject, SourceAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringgroovy.lang.MetaClassgetProperty(String property) static StringgetSEP()protected voidinvokeMethod(String method, Object arguments) protected booleanmatches(SourceCode sourceFile) voidsetBaseDirectory(String value) voidsetExcludes(String value) voidsetIncludes(String value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) Methods inherited from class AbstractSourceAnalyzer
collectViolations
-
Constructor Details
-
FilesystemSourceAnalyzer
public FilesystemSourceAnalyzer()
-
-
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
-
getSEP
-
getDEFAULT_INCLUDES
-
getBaseDirectory
-
setBaseDirectory
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
analyze
-
getSourceDirectories
-
matches
-
initializeWildcardPatterns
protected void initializeWildcardPatterns()
-