org.stjs.generator.check.expression
Class MethodInvocationOuterScopeCheck
java.lang.Object
org.stjs.generator.check.expression.MethodInvocationOuterScopeCheck
- All Implemented Interfaces:
- CheckContributor<com.sun.source.tree.MethodInvocationTree>, VisitorContributor<com.sun.source.tree.MethodInvocationTree,Void,GenerationContext<Void>,CheckVisitor>
public class MethodInvocationOuterScopeCheck
- extends Object
- implements CheckContributor<com.sun.source.tree.MethodInvocationTree>
this check verifies that you don't call a method from the outer type as in javaScript this scope is not accessible.
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationOuterScopeCheck
public MethodInvocationOuterScopeCheck()
visit
public Void visit(CheckVisitor visitor,
com.sun.source.tree.MethodInvocationTree tree,
GenerationContext<Void> context)
- Specified by:
visit in interface VisitorContributor<com.sun.source.tree.MethodInvocationTree,Void,GenerationContext<Void>,CheckVisitor>
Copyright © 2014. All Rights Reserved.