org.stjs.generator.check.expression
Class MemberSelectOuterScopeCheck

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

public class MemberSelectOuterScopeCheck
extends Object
implements CheckContributor<com.sun.source.tree.MemberSelectTree>

this check that you don't try to access the outer this using Type.this.

Author:
acraciun

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

Constructor Detail

MemberSelectOuterScopeCheck

public MemberSelectOuterScopeCheck()
Method Detail

visit

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


Copyright © 2014. All Rights Reserved.