- All Implemented Interfaces:
- CheckContributor<com.sun.source.tree.ClassTree>, VisitorContributor<com.sun.source.tree.ClassTree,Void,GenerationContext<Void>,CheckVisitor>
public class ClassGlobalInstanceMembersCheck
extends Object
implements CheckContributor<com.sun.source.tree.ClassTree>
as for @GlobalScope - global classes, there is not class declaration, the members are attached directly to the
JavaScript global object (i.e. the window when running in the browser), the instance members have no meaning, so
forbid them.
- Author:
- acraciun