Class HashCodeArguments
java.lang.Object
org.jvnet.jaxb.plugin.simplehashcode.HashCodeArguments
- All Implemented Interfaces:
Arguments<HashCodeArguments>
-
Constructor Summary
ConstructorsConstructorDescriptionHashCodeArguments(com.sun.codemodel.JCodeModel codeModel, com.sun.codemodel.JVar currentHashCode, int multiplier, com.sun.codemodel.JVar value, com.sun.codemodel.JExpression hasSetValue) -
Method Summary
Modifier and TypeMethodDescriptioncom.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) com.sun.codemodel.JVarelement(com.sun.codemodel.JBlock subBlock, com.sun.codemodel.JType elementType) com.sun.codemodel.JExpressioncom.sun.codemodel.JBlockifHasSetValue(com.sun.codemodel.JBlock block, boolean isAlwaysSet, boolean checkForNullRequired) iterator(com.sun.codemodel.JBlock block, com.sun.codemodel.JType elementType) intproperty(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.JVarvalue()
-
Constructor Details
-
HashCodeArguments
public HashCodeArguments(com.sun.codemodel.JCodeModel codeModel, com.sun.codemodel.JVar currentHashCode, int multiplier, com.sun.codemodel.JVar value, com.sun.codemodel.JExpression hasSetValue)
-
-
Method Details
-
currentHashCode
public com.sun.codemodel.JVar currentHashCode() -
multiplier
public int multiplier() -
value
public com.sun.codemodel.JVar value() -
hasSetValue
public com.sun.codemodel.JExpression hasSetValue() -
property
public HashCodeArguments 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:
propertyin interfaceArguments<HashCodeArguments>
-
iterator
public HashCodeArguments iterator(com.sun.codemodel.JBlock block, com.sun.codemodel.JType elementType) - Specified by:
iteratorin interfaceArguments<HashCodeArguments>
-
element
public HashCodeArguments element(com.sun.codemodel.JBlock subBlock, com.sun.codemodel.JType elementType) - Specified by:
elementin interfaceArguments<HashCodeArguments>
-
_instanceof
public com.sun.codemodel.JExpression _instanceof(com.sun.codemodel.JType type) - Specified by:
_instanceofin interfaceArguments<HashCodeArguments>
-
cast
public HashCodeArguments cast(String suffix, com.sun.codemodel.JBlock block, com.sun.codemodel.JType jaxbElementType, boolean suppressWarnings) - Specified by:
castin interfaceArguments<HashCodeArguments>
-
ifHasSetValue
public com.sun.codemodel.JBlock ifHasSetValue(com.sun.codemodel.JBlock block, boolean isAlwaysSet, boolean checkForNullRequired) - Specified by:
ifHasSetValuein interfaceArguments<HashCodeArguments>
-
_while
public com.sun.codemodel.JBlock _while(com.sun.codemodel.JBlock block) - Specified by:
_whilein interfaceArguments<HashCodeArguments>
-