org.jvnet.jaxb2_commons.plugin.simpleequals
Class EqualsArguments
java.lang.Object
org.jvnet.jaxb2_commons.plugin.simpleequals.EqualsArguments
- All Implemented Interfaces:
- Arguments<EqualsArguments>
public class EqualsArguments
- extends Object
- implements Arguments<EqualsArguments>
|
Constructor Summary |
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 |
com.sun.codemodel.JExpression |
_instanceof(com.sun.codemodel.JType type)
|
com.sun.codemodel.JBlock |
_while(com.sun.codemodel.JBlock block)
|
EqualsArguments |
cast(String suffix,
com.sun.codemodel.JBlock block,
com.sun.codemodel.JType jaxbElementType,
boolean suppressWarnings)
|
EqualsArguments |
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)
|
EqualsArguments |
iterator(com.sun.codemodel.JBlock block,
com.sun.codemodel.JType elementType)
|
com.sun.codemodel.JExpression |
leftHasSetValue()
|
com.sun.codemodel.JVar |
leftValue()
|
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)
|
com.sun.codemodel.JExpression |
rightHasSetValue()
|
com.sun.codemodel.JVar |
rightValue()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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>
Copyright © 2005-2015. All Rights Reserved.