org.stjs.generator.plugin
Class MainGenerationPlugin<JS>
java.lang.Object
org.stjs.generator.plugin.MainGenerationPlugin<JS>
- All Implemented Interfaces:
- STJSGenerationPlugin<JS>
public class MainGenerationPlugin<JS>
- extends Object
- implements STJSGenerationPlugin<JS>
this is the main generation plugin that adds all the needed checks and writers.
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainGenerationPlugin
public MainGenerationPlugin()
newContext
public GenerationContext<JS> newContext()
contributeCheckVisitor
public void contributeCheckVisitor(CheckVisitor visitor)
- Description copied from interface:
STJSGenerationPlugin
- add the check contributors
- Specified by:
contributeCheckVisitor in interface STJSGenerationPlugin<JS>
contributeWriteVisitor
public void contributeWriteVisitor(WriterVisitor<JS> visitor)
- Description copied from interface:
STJSGenerationPlugin
- add the writer contributors
- Specified by:
contributeWriteVisitor in interface STJSGenerationPlugin<JS>
addMethodCallTemplates
protected void addMethodCallTemplates(WriterVisitor<JS> visitor)
loadByDefault
public boolean loadByDefault()
- Specified by:
loadByDefault in interface STJSGenerationPlugin<JS>
- Returns:
- true if this plugin is to be executed with any class, or false if the user should activate it via
UsePlugin
Copyright © 2014. All Rights Reserved.