org.stjs.generator.check.declaration
Class ClassForbidExtendsSyntheticTypeCheck
java.lang.Object
org.stjs.generator.check.declaration.ClassForbidExtendsSyntheticTypeCheck
- All Implemented Interfaces:
- CheckContributor<com.sun.source.tree.ClassTree>, VisitorContributor<com.sun.source.tree.ClassTree,Void,GenerationContext<Void>,CheckVisitor>
public class ClassForbidExtendsSyntheticTypeCheck
- extends Object
- implements CheckContributor<com.sun.source.tree.ClassTree>
this checks that a class or interface does not try to extend or implement a
SyntheticType as the code for this class does not exist in reality, so the
calls to any method of such a type may end up in a runtime error.
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassForbidExtendsSyntheticTypeCheck
public ClassForbidExtendsSyntheticTypeCheck()
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.