Class AbstractSourceCode

    • Constructor Detail

      • AbstractSourceCode

        public AbstractSourceCode()
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public java.lang.Object invokeMethod​(java.lang.String method,
                                             java.lang.Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public java.lang.Object getProperty​(java.lang.String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(java.lang.String property,
                                java.lang.Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • getLOG

        public static org.slf4j.Logger getLOG()
      • getSEPARATOR_PROP

        public static java.lang.String getSEPARATOR_PROP()
      • setSuppressionAnalyzer

        protected void setSuppressionAnalyzer​(SuppressionAnalyzer suppressionAnalyzer)
      • getLines

        public java.util.List getLines()
        Specified by:
        getLines in interface SourceCode
      • line

        public java.lang.String line​(int lineNumber)
        Specified by:
        line in interface SourceCode
      • getAst

        public org.codehaus.groovy.ast.ModuleNode getAst()
        Specified by:
        getAst in interface SourceCode
      • getMethodCallExpressions

        public java.util.Map<org.codehaus.groovy.ast.ClassNode,​java.util.List<org.codehaus.groovy.ast.expr.MethodCallExpression>> getMethodCallExpressions()
        Specified by:
        getMethodCallExpressions in interface SourceCode
      • normalizePath

        protected java.lang.String normalizePath​(java.lang.String path)