org.stjs.generator.check.declaration
Class MethodDeclarationTemplateCheck

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

public class MethodDeclarationTemplateCheck
extends Object
implements CheckContributor<com.sun.source.tree.MethodTree>

this class verifies that you use @Template only inside a bridge

Author:
acraciun

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

Constructor Detail

MethodDeclarationTemplateCheck

public MethodDeclarationTemplateCheck()
Method Detail

visit

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


Copyright © 2014. All Rights Reserved.