Class InnerClassVisitorHelper

java.lang.Object
All Implemented Interfaces:
GroovyClassVisitor, GroovyCodeVisitor, ErrorCollecting
Direct Known Subclasses:
InnerClassCompletionVisitor, InnerClassVisitor

public abstract class InnerClassVisitorHelper
extends ClassCodeVisitorSupport
  • Constructor Details

    • InnerClassVisitorHelper

      public InnerClassVisitorHelper()
  • Method Details

    • addFieldInit

      protected static void addFieldInit​(Parameter p, FieldNode fn, BlockStatement block)
    • setPropertyGetterDispatcher

      protected static void setPropertyGetterDispatcher​(BlockStatement block, Expression target, Parameter[] parameters)
    • setPropertySetterDispatcher

      protected static void setPropertySetterDispatcher​(BlockStatement block, Expression target, Parameter[] parameters)
    • setMethodDispatcherCode

      protected static void setMethodDispatcherCode​(BlockStatement block, Expression target, Parameter[] parameters)
    • isStatic

      protected static boolean isStatic​(InnerClassNode cn)
    • getClassNode

      protected static ClassNode getClassNode​(ClassNode cn, boolean isStatic)
    • getObjectDistance

      protected static int getObjectDistance​(ClassNode cn)
    • shouldHandleImplicitThisForInnerClass

      protected static boolean shouldHandleImplicitThisForInnerClass​(ClassNode cn)