Class GroovyClassFilterTransformer

  • All Implemented Interfaces:
    org.codehaus.groovy.control.CompilationUnit.IPrimaryClassNodeOperation

    public class GroovyClassFilterTransformer
    extends org.kohsuke.groovy.sandbox.SandboxTransformer
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  GroovyClassFilterTransformer.Transformer  
      • Nested classes/interfaces inherited from class org.kohsuke.groovy.sandbox.SandboxTransformer

        org.kohsuke.groovy.sandbox.SandboxTransformer.VisitorImpl
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean allowed​(org.codehaus.groovy.ast.ClassNode type)  
      org.codehaus.groovy.ast.ClassCodeExpressionTransformer createVisitor​(org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode clazz)  
      • Methods inherited from class org.kohsuke.groovy.sandbox.SandboxTransformer

        call, createVisitor, forbidIfFinalizer, mightBePositionalArgumentConstructor, processConstructors
      • Methods inherited from class org.codehaus.groovy.control.customizers.CompilationCustomizer

        getPhase
      • Methods inherited from interface org.codehaus.groovy.control.CompilationUnit.IPrimaryClassNodeOperation

        doPhaseOperation, needSortedInput
    • Constructor Detail

      • GroovyClassFilterTransformer

        public GroovyClassFilterTransformer()
    • Method Detail

      • allowed

        protected boolean allowed​(org.codehaus.groovy.ast.ClassNode type)
      • createVisitor

        public org.codehaus.groovy.ast.ClassCodeExpressionTransformer createVisitor​(org.codehaus.groovy.control.SourceUnit source,
                                                                                    org.codehaus.groovy.ast.ClassNode clazz)
        Overrides:
        createVisitor in class org.kohsuke.groovy.sandbox.SandboxTransformer