org.stjs.generator.check.statement
Class SynchronizedCheck

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

public class SynchronizedCheck
extends Object
implements CheckContributor<com.sun.source.tree.SynchronizedTree>

ths synchronized blocks are illegal, as there is no threading model in JavaScript

Author:
acraciun

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

Constructor Detail

SynchronizedCheck

public SynchronizedCheck()
Method Detail

visit

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


Copyright © 2014. All Rights Reserved.