org.stjs.generator.check.declaration
Class ClassNamespaceCheck

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

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

this check makes sure the names used to define a namespace are JavaScript correctly defined variables, as they will be used as such

Author:
acraciun

Constructor Summary
ClassNamespaceCheck()
           
 
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

ClassNamespaceCheck

public ClassNamespaceCheck()
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.