|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.size.GMetricsSourceCodeAdapter
class GMetricsSourceCodeAdapter
Adapter that adapts from a GMetrics SourceCode object to a CodeNarc SourceCode object.
Constructor Summary | |
GMetricsSourceCodeAdapter(SourceCode sourceCode)
|
Method Summary | |
---|---|
org.codehaus.groovy.ast.ModuleNode
|
getAst()
|
int
|
getLineNumberForCharacterIndex(int charIndex)
|
List
|
getLines()
|
String
|
getName()
|
String
|
getPath()
|
String
|
getText()
|
boolean
|
isValid()
|
String
|
line(int lineNumber)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
GMetricsSourceCodeAdapter(SourceCode sourceCode)
Method Detail |
---|
org.codehaus.groovy.ast.ModuleNode getAst()
int getLineNumberForCharacterIndex(int charIndex)
List getLines()
String getName()
String getPath()
String getText()
boolean isValid()
String line(int lineNumber)
Groovy Documentation