org.sonatype.sisu.jacksbee
Class BooleanGetterPlugin

java.lang.Object
  extended by com.sun.tools.xjc.Plugin
      extended by org.jvnet.jaxb2_commons.plugin.AbstractPlugin
          extended by org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
              extended by org.sonatype.sisu.jacksbee.BooleanGetterPlugin

public class BooleanGetterPlugin
extends org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin

Replaces any isXXX() method with getXXX() where the return type is Boolean. Methods with primitive boolean are left as-is.

Since:
1.0

Field Summary
 
Fields inherited from class org.jvnet.jaxb2_commons.plugin.AbstractPlugin
logger
 
Constructor Summary
BooleanGetterPlugin()
           
 
Method Summary
 String getOptionName()
           
 String getUsage()
           
protected  boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options)
           
 
Methods inherited from class org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
parseArgument
 
Methods inherited from class org.jvnet.jaxb2_commons.plugin.AbstractPlugin
afterRun, beforeRun, getCustomizationElementNames, getCustomizationURIs, init, isCustomizationTagName, onActivated, run
 
Methods inherited from class com.sun.tools.xjc.Plugin
postProcessModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanGetterPlugin

public BooleanGetterPlugin()
Method Detail

getOptionName

public String getOptionName()
Specified by:
getOptionName in class com.sun.tools.xjc.Plugin

getUsage

public String getUsage()
Specified by:
getUsage in class com.sun.tools.xjc.Plugin

run

protected boolean run(com.sun.tools.xjc.outline.Outline outline,
                      com.sun.tools.xjc.Options options)
               throws Exception
Overrides:
run in class org.jvnet.jaxb2_commons.plugin.AbstractPlugin
Throws:
Exception


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.