Class PropertyExpressionEvaluator

  • All Implemented Interfaces:
    groovy.lang.GroovyObject, org.codehaus.groovy.ast.GroovyClassVisitor, org.codehaus.groovy.ast.GroovyCodeVisitor, org.codehaus.groovy.transform.ErrorCollecting

    public class PropertyExpressionEvaluator
    extends org.codehaus.groovy.ast.ClassCodeVisitorSupport
    implements groovy.lang.GroovyObject
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyExpressionEvaluator​(org.codehaus.groovy.control.SourceUnit unit, List<String> whiteList, org.codehaus.groovy.transform.stc.GroovyTypeCheckingExtensionSupport.TypeCheckingDSL dsl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      groovy.lang.MetaClass getMetaClass()  
      protected org.codehaus.groovy.control.SourceUnit getSourceUnit()  
      void setMetaClass​(groovy.lang.MetaClass mc)  
      void visitPropertyExpression​(org.codehaus.groovy.ast.expr.PropertyExpression expression)  
      • Methods inherited from class org.codehaus.groovy.ast.ClassCodeVisitorSupport

        addError, visitAnnotation, visitAnnotations, visitAnnotations, visitAssertStatement, visitBlockStatement, visitBreakStatement, visitCaseStatement, visitCatchStatement, visitClass, visitClassCodeContainer, visitConstructor, visitConstructorOrMethod, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitExpressionStatement, visitField, visitForLoop, visitIfElse, visitImports, visitMethod, visitObjectInitializerStatements, visitPackage, visitProperty, visitReturnStatement, visitStatement, visitSwitch, visitSynchronizedStatement, visitThrowStatement, visitTryCatchFinally, visitWhileLoop
      • Methods inherited from class org.codehaus.groovy.ast.CodeVisitorSupport

        afterSwitchConditionExpressionVisited, visitArgumentlistExpression, visitArrayExpression, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBooleanExpression, visitBytecodeExpression, visitCastExpression, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstantExpression, visitConstructorCallExpression, visitEmptyStatement, visitFieldExpression, visitGStringExpression, visitLambdaExpression, visitListExpression, visitMapEntryExpression, visitMapExpression, visitMethodCallExpression, visitMethodPointerExpression, visitMethodReferenceExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitRangeExpression, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitTernaryExpression, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitVariableExpression
      • Methods inherited from interface org.codehaus.groovy.ast.GroovyCodeVisitor

        visit, visit, visitEmptyExpression, visitListOfExpressions
      • Methods inherited from interface groovy.lang.GroovyObject

        getProperty, invokeMethod, setProperty
    • Constructor Detail

      • PropertyExpressionEvaluator

        public PropertyExpressionEvaluator​(org.codehaus.groovy.control.SourceUnit unit,
                                           List<String> whiteList,
                                           org.codehaus.groovy.transform.stc.GroovyTypeCheckingExtensionSupport.TypeCheckingDSL dsl)
    • 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
      • getSourceUnit

        protected org.codehaus.groovy.control.SourceUnit getSourceUnit()
        Specified by:
        getSourceUnit in class org.codehaus.groovy.ast.ClassCodeVisitorSupport
      • visitPropertyExpression

        public void visitPropertyExpression​(org.codehaus.groovy.ast.expr.PropertyExpression expression)
        Specified by:
        visitPropertyExpression in interface org.codehaus.groovy.ast.GroovyCodeVisitor
        Overrides:
        visitPropertyExpression in class org.codehaus.groovy.ast.CodeVisitorSupport