org.stjs.generator.check.expression
Class MethodInvocationSuperSynthCheck

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

public class MethodInvocationSuperSynthCheck
extends Object
implements CheckContributor<com.sun.source.tree.MethodInvocationTree>

this check verifies that you don't call a method from the super type if that is a synthetic type, as the actual definition of this type does not exist.

Author:
acraciun

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

Constructor Detail

MethodInvocationSuperSynthCheck

public MethodInvocationSuperSynthCheck()
Method Detail

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.