org.jvnet.jaxb2_commons.plugin.fluent_api
Class FluentMethodInfo

java.lang.Object
  extended by org.jvnet.jaxb2_commons.plugin.fluent_api.FluentMethodInfo

public class FluentMethodInfo
extends Object

Information used to generate a fluent API method.

Author:
Hanson Char

Constructor Summary
FluentMethodInfo(com.sun.codemodel.JMethod jmethod, FluentMethodType fluentMethodType, boolean isOverride)
           
 
Method Summary
 void createFluentMethod(com.sun.codemodel.JDefinedClass implClass)
          Creates a fluent API method in the given class.
 com.sun.codemodel.JMethod getJmethod()
          Returns the original method for which a fluent API method will be generated.
 boolean isOverride()
          Returns true if the fluent API method is one overriding a parent method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FluentMethodInfo

public FluentMethodInfo(com.sun.codemodel.JMethod jmethod,
                        FluentMethodType fluentMethodType,
                        boolean isOverride)
Method Detail

createFluentMethod

public void createFluentMethod(com.sun.codemodel.JDefinedClass implClass)
Creates a fluent API method in the given class.


isOverride

public boolean isOverride()
Returns true if the fluent API method is one overriding a parent method.


getJmethod

public com.sun.codemodel.JMethod getJmethod()
Returns the original method for which a fluent API method will be generated.



Copyright © 2013. All Rights Reserved.