Class CustomCompilerPhaseSourceDecorator
java.lang.Object
org.codenarc.source.AbstractSourceCode
org.codenarc.source.CustomCompilerPhaseSourceDecorator
- All Implemented Interfaces:
groovy.lang.GroovyObject, SourceCode
-
Field Summary
Fields inherited from interface SourceCode
DEFAULT_COMPILER_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgroovy.lang.MetaClassgetName()getPath()getProperty(String property) getText()invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) toString()Methods inherited from class AbstractSourceCode
getAst, getLineNumberForCharacterIndex, getLines, getLOG, getMethodCallExpressions, getSEPARATOR_PROP, isValid, line, normalizePath, setSuppressionAnalyzer
-
Constructor Details
-
CustomCompilerPhaseSourceDecorator
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractSourceCode
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractSourceCode
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractSourceCode
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractSourceCode
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractSourceCode
-
getAstCompilerPhase
public int getAstCompilerPhase()- Specified by:
getAstCompilerPhasein interfaceSourceCode- Overrides:
getAstCompilerPhasein classAbstractSourceCode
-
getName
-
getPath
-
getText
-
getSuppressionAnalyzer
- Specified by:
getSuppressionAnalyzerin interfaceSourceCode- Overrides:
getSuppressionAnalyzerin classAbstractSourceCode
-
toString
-