|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.org.codenarc.source.AbstractSourceCode
groovy.org.codenarc.source.CustomCompilerPhaseSourceDecorator
class CustomCompilerPhaseSourceDecorator extends AbstractSourceCode
A SourceCode decorator overriding the decorated source's returned AST so that it meets the user's compilerPhase requirements. Ensures that the compiler phase is before classes are output to disk.
| Constructor Summary | |
CustomCompilerPhaseSourceDecorator(SourceCode delegate, int compilerPhase)
|
|
| Method Summary | |
|---|---|
int
|
getAstCompilerPhase()
|
String
|
getName()
|
String
|
getPath()
|
SuppressionAnalyzer
|
getSuppressionAnalyzer()
|
String
|
getText()
|
String
|
toString()
|
| Methods inherited from class AbstractSourceCode | |
|---|---|
| getAst, getAstCompilerPhase, getLineNumberForCharacterIndex, getLines, getMethodCallExpressions, isValid, line, normalizePath, setSuppressionAnalyzer |
| Constructor Detail |
|---|
CustomCompilerPhaseSourceDecorator(SourceCode delegate, int compilerPhase)
| Method Detail |
|---|
@Override int getAstCompilerPhase()
String getName()
String getPath()
@Override SuppressionAnalyzer getSuppressionAnalyzer()
String getText()
String toString()
Groovy Documentation