org.stjs.generator.check.expression
Class NewArrayForbiddenCheck

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

public class NewArrayForbiddenCheck
extends Object
implements CheckContributor<com.sun.source.tree.NewArrayTree>

this checks that no java array is used. You should use Array instead.

Author:
acraciun

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

Constructor Detail

NewArrayForbiddenCheck

public NewArrayForbiddenCheck()
Method Detail

visit

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


Copyright © 2014. All Rights Reserved.