org.stjs.generator.check.declaration
Class ClassGlobalForbidInnerCheck

java.lang.Object
  extended by org.stjs.generator.check.declaration.ClassGlobalForbidInnerCheck
All Implemented Interfaces:
CheckContributor<com.sun.source.tree.ClassTree>, VisitorContributor<com.sun.source.tree.ClassTree,Void,GenerationContext<Void>,CheckVisitor>

public class ClassGlobalForbidInnerCheck
extends Object
implements CheckContributor<com.sun.source.tree.ClassTree>

as for @GlobalScope - forbid inner types of global classes - they make no sense

Author:
acraciun

Constructor Summary
ClassGlobalForbidInnerCheck()
           
 
Method Summary
 Void visit(CheckVisitor visitor, com.sun.source.tree.ClassTree tree, GenerationContext<Void> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassGlobalForbidInnerCheck

public ClassGlobalForbidInnerCheck()
Method Detail

visit

public Void visit(CheckVisitor visitor,
                  com.sun.source.tree.ClassTree tree,
                  GenerationContext<Void> context)
Specified by:
visit in interface VisitorContributor<com.sun.source.tree.ClassTree,Void,GenerationContext<Void>,CheckVisitor>


Copyright © 2014. All Rights Reserved.