Class FluentMethodInfo

java.lang.Object
org.jvnet.jaxb.plugin.fluent_api.FluentMethodInfo

public class FluentMethodInfo extends Object
Information used to generate a fluent API method.
Author:
Hanson Char
  • Constructor Summary

    Constructors
    Constructor
    Description
    FluentMethodInfo(com.sun.codemodel.JMethod jmethod, FluentMethodType fluentMethodType, boolean isOverride)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createFluentMethod(com.sun.codemodel.JDefinedClass implClass)
    Creates a fluent API method in the given class.
    com.sun.codemodel.JMethod
    Returns the original method for which a fluent API method will be generated.
    boolean
    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 Details

    • FluentMethodInfo

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

    • createFluentMethod

      public void createFluentMethod(com.sun.codemodel.JDefinedClass implClass)
      Creates a fluent API method in the given class.
      Parameters:
      implClass - the class to create fluent-api
    • isOverride

      public boolean isOverride()
      Returns true if the fluent API method is one overriding a parent method.
      Returns:
      true if 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.
      Returns:
      original JMethod for which a fluent-api method will be generated