org.stjs.generator.check.declaration
Class ArrayTypeForbiddenCheck

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

public class ArrayTypeForbiddenCheck
extends Object
implements CheckContributor<com.sun.source.tree.ArrayTypeTree>

this class checks that you don't use java arrays in the code (the only exception is the main method - but maybe this only should also be forbidden). You should use instead.

Author:
acraciun

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

Constructor Detail

ArrayTypeForbiddenCheck

public ArrayTypeForbiddenCheck()
Method Detail

visit

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


Copyright © 2014. All Rights Reserved.