org.stjs.generator.check.declaration
Class ArrayTypeForbiddenCheck
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayTypeForbiddenCheck
public ArrayTypeForbiddenCheck()
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.