Package org.codenarc.analyzer
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 String
groovy.lang.MetaClass
getProperty
(String property) static String
getSEP()
protected void
invokeMethod
(String method, Object arguments) protected boolean
matches
(SourceCode sourceFile) void
setBaseDirectory
(String value) void
setExcludes
(String value) void
setIncludes
(String value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) Methods inherited from class org.codenarc.analyzer.AbstractSourceAnalyzer
collectViolations
-
Constructor Details
-
FilesystemSourceAnalyzer
public FilesystemSourceAnalyzer()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractSourceAnalyzer
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractSourceAnalyzer
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractSourceAnalyzer
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractSourceAnalyzer
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractSourceAnalyzer
-
getSEP
-
getDEFAULT_INCLUDES
-
getBaseDirectory
-
setBaseDirectory
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
analyze
-
getSourceDirectories
-
matches
-
initializeWildcardPatterns
protected void initializeWildcardPatterns()
-