Class EqualsArguments

java.lang.Object
org.jvnet.jaxb.plugin.simpleequals.EqualsArguments
All Implemented Interfaces:
Arguments<EqualsArguments>

public class EqualsArguments extends Object implements Arguments<EqualsArguments>
  • Constructor Summary

    Constructors
    Constructor
    Description
    EqualsArguments(com.sun.codemodel.JCodeModel codeModel, com.sun.codemodel.JVar leftValue, com.sun.codemodel.JExpression leftHasSetValue, com.sun.codemodel.JVar rightValue, com.sun.codemodel.JExpression rightHasSetValue)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sun.codemodel.JExpression
    _instanceof(com.sun.codemodel.JType type)
     
    com.sun.codemodel.JBlock
    _while(com.sun.codemodel.JBlock block)
     
    cast(String suffix, com.sun.codemodel.JBlock block, com.sun.codemodel.JType jaxbElementType, boolean suppressWarnings)
     
    element(com.sun.codemodel.JBlock subBlock, com.sun.codemodel.JType elementType)
     
    com.sun.codemodel.JBlock
    ifHasSetValue(com.sun.codemodel.JBlock block, boolean isAlwaysSet, boolean checkForNullRequired)
     
    iterator(com.sun.codemodel.JBlock block, com.sun.codemodel.JType elementType)
     
    com.sun.codemodel.JExpression
     
    com.sun.codemodel.JVar
     
    property(com.sun.codemodel.JBlock block, String propertyName, String propertyMethod, com.sun.codemodel.JType declarablePropertyType, com.sun.codemodel.JType propertyType, Collection<com.sun.codemodel.JType> possiblePropertyTypes)
     
    com.sun.codemodel.JExpression
     
    com.sun.codemodel.JVar
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EqualsArguments

      public EqualsArguments(com.sun.codemodel.JCodeModel codeModel, com.sun.codemodel.JVar leftValue, com.sun.codemodel.JExpression leftHasSetValue, com.sun.codemodel.JVar rightValue, com.sun.codemodel.JExpression rightHasSetValue)
  • Method Details

    • leftValue

      public com.sun.codemodel.JVar leftValue()
    • leftHasSetValue

      public com.sun.codemodel.JExpression leftHasSetValue()
    • rightValue

      public com.sun.codemodel.JVar rightValue()
    • rightHasSetValue

      public com.sun.codemodel.JExpression rightHasSetValue()
    • property

      public EqualsArguments property(com.sun.codemodel.JBlock block, String propertyName, String propertyMethod, com.sun.codemodel.JType declarablePropertyType, com.sun.codemodel.JType propertyType, Collection<com.sun.codemodel.JType> possiblePropertyTypes)
      Specified by:
      property in interface Arguments<EqualsArguments>
    • iterator

      public EqualsArguments iterator(com.sun.codemodel.JBlock block, com.sun.codemodel.JType elementType)
      Specified by:
      iterator in interface Arguments<EqualsArguments>
    • element

      public EqualsArguments element(com.sun.codemodel.JBlock subBlock, com.sun.codemodel.JType elementType)
      Specified by:
      element in interface Arguments<EqualsArguments>
    • _instanceof

      public com.sun.codemodel.JExpression _instanceof(com.sun.codemodel.JType type)
      Specified by:
      _instanceof in interface Arguments<EqualsArguments>
    • cast

      public EqualsArguments cast(String suffix, com.sun.codemodel.JBlock block, com.sun.codemodel.JType jaxbElementType, boolean suppressWarnings)
      Specified by:
      cast in interface Arguments<EqualsArguments>
    • ifHasSetValue

      public com.sun.codemodel.JBlock ifHasSetValue(com.sun.codemodel.JBlock block, boolean isAlwaysSet, boolean checkForNullRequired)
      Specified by:
      ifHasSetValue in interface Arguments<EqualsArguments>
    • _while

      public com.sun.codemodel.JBlock _while(com.sun.codemodel.JBlock block)
      Specified by:
      _while in interface Arguments<EqualsArguments>