Package io.sundr.model
Class IfFluent<A extends IfFluent<A>>
java.lang.Object
io.sundr.builder.BaseFluent<A>
io.sundr.model.IfFluent<A>
- Direct Known Subclasses:
BlockFluent.IfStatementsNested,DoFluent.IfStatementNested,ForeachFluent.IfBodyNested,ForFluent.IfBodyNested,IfBuilder,IfFluent.IfStatementNested,LambdaFluent.IfStatementNested,WhileFluent.IfStatementNested
Generated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclass -
Field Summary
Fields inherited from class io.sundr.builder.BaseFluent
_visitables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> VisitableBuilder<T,?> protected voidcopyInstance(If instance) booleanbooleanbooleaninthashCode()booleantoString()withCondition(Expression condition) withElseStatement(Statement elseStatement) withElseStatement(Optional<Statement> elseStatement) withNewBitwiseAndCondition(Object left, Object right) withNewBitwiseOrCondition(Object left, Object right) withNewCastConditionLike(Cast item) withNewDeclareCondition(Class type, String name) withNewDeclareCondition(Class type, String name, Object value) withNewDeclareStatement(Class type, String name) withNewDeclareStatement(Class type, String name, Object value) withNewDivideCondition(Object left, Object right) withNewDoStatementLike(Do item) withNewEqualsCondition(Object left, Object right) withNewForStatementLike(For item) withNewGreaterThanCondition(Object left, Object right) withNewGreaterThanOrEqualCondition(Object left, Object right) withNewIfStatementLike(If item) withNewLeftShiftCondition(Object left, Object right) withNewLessThanCondition(Object left, Object right) withNewLessThanOrEqualCondition(Object left, Object right) withNewLogicalAndCondition(Object left, Object right) withNewLogicalOrCondition(Object left, Object right) withNewMinusCondition(Object left, Object right) withNewModuloCondition(Object left, Object right) withNewMultiplyCondition(Object left, Object right) withNewNewArrayCondition(Class type, Integer[] sizes) withNewNotConditionLike(Not item) withNewNotEqualsCondition(Object left, Object right) withNewPlusCondition(Object left, Object right) withNewPlusConditionLike(Plus item) withNewReturnStatement(Object object) withNewRightShiftCondition(Object left, Object right) withNewRightUnsignedShiftCondition(Object left, Object right) withNewStringStatement(String data) withNewStringStatement(String data, Object[] parameters) withNewThisConditionLike(This item) withNewValueRefCondition(Object value) withNewXorCondition(Object left, Object right) withNewXorConditionLike(Xor item) withStatement(Statement statement) Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
Constructor Details
-
IfFluent
public IfFluent() -
IfFluent
-
-
Method Details
-
copyInstance
-
buildCondition
-
withCondition
-
hasCondition
public boolean hasCondition() -
withNewMultiplyCondition
-
withNewMultiplyConditionLike
-
withNewMultiplyCondition
-
withNewNewArrayCondition
-
withNewNewArrayConditionLike
-
withNewNewArrayCondition
-
withNewInstanceOfCondition
-
withNewInstanceOfConditionLike
-
withNewMethodCallCondition
-
withNewMethodCallConditionLike
-
withNewInverseCondition
-
withNewInverseConditionLike
-
withNewIndexCondition
-
withNewIndexConditionLike
-
withNewGreaterThanOrEqualCondition
-
withNewGreaterThanOrEqualConditionLike
public IfFluent<A>.GreaterThanOrEqualConditionNested<A> withNewGreaterThanOrEqualConditionLike(GreaterThanOrEqual item) -
withNewGreaterThanOrEqualCondition
-
withNewBitwiseAndCondition
-
withNewBitwiseAndConditionLike
-
withNewBitwiseAndCondition
-
withNewMinusCondition
-
withNewMinusConditionLike
-
withNewMinusCondition
-
withNewLogicalOrCondition
-
withNewLogicalOrConditionLike
-
withNewLogicalOrCondition
-
withNewNotEqualsCondition
-
withNewNotEqualsConditionLike
-
withNewNotEqualsCondition
-
withNewDivideCondition
-
withNewDivideConditionLike
-
withNewDivideCondition
-
withNewLessThanCondition
-
withNewLessThanConditionLike
-
withNewLessThanCondition
-
withNewBitwiseOrCondition
-
withNewBitwiseOrConditionLike
-
withNewBitwiseOrCondition
-
withNewPropertyRefCondition
-
withNewPropertyRefConditionLike
-
withNewRightShiftCondition
-
withNewRightShiftConditionLike
-
withNewRightShiftCondition
-
withNewGreaterThanCondition
-
withNewGreaterThanConditionLike
-
withNewGreaterThanCondition
-
withNewDeclareCondition
-
withNewDeclareConditionLike
-
withNewDeclareCondition
-
withNewDeclareCondition
-
withNewCastCondition
-
withNewCastConditionLike
-
withNewModuloCondition
-
withNewModuloConditionLike
-
withNewModuloCondition
-
withNewValueRefCondition
-
withNewValueRefConditionLike
-
withNewValueRefCondition
-
withNewLeftShiftCondition
-
withNewLeftShiftConditionLike
-
withNewLeftShiftCondition
-
withNewTernaryCondition
-
withNewTernaryConditionLike
-
withNewBinaryExpressionCondition
-
withNewBinaryExpressionConditionLike
public IfFluent<A>.BinaryExpressionConditionNested<A> withNewBinaryExpressionConditionLike(BinaryExpression item) -
withNewEqualsCondition
-
withNewEqualsConditionLike
-
withNewEqualsCondition
-
withNewEnclosedCondition
-
withNewEnclosedConditionLike
-
withNewPreDecrementCondition
-
withNewPreDecrementConditionLike
public IfFluent<A>.PreDecrementConditionNested<A> withNewPreDecrementConditionLike(PreDecrement item) -
withNewPostDecrementCondition
-
withNewPostDecrementConditionLike
public IfFluent<A>.PostDecrementConditionNested<A> withNewPostDecrementConditionLike(PostDecrement item) -
withNewLambdaCondition
-
withNewLambdaConditionLike
-
withNewNotCondition
-
withNewNotConditionLike
-
withNewAssignCondition
-
withNewAssignConditionLike
-
withNewNegativeCondition
-
withNewNegativeConditionLike
-
withNewThisCondition
-
withNewThisConditionLike
-
withNewLogicalAndCondition
-
withNewLogicalAndConditionLike
-
withNewLogicalAndCondition
-
withNewPostIncrementCondition
-
withNewPostIncrementConditionLike
public IfFluent<A>.PostIncrementConditionNested<A> withNewPostIncrementConditionLike(PostIncrement item) -
withNewRightUnsignedShiftCondition
-
withNewRightUnsignedShiftConditionLike
public IfFluent<A>.RightUnsignedShiftConditionNested<A> withNewRightUnsignedShiftConditionLike(RightUnsignedShift item) -
withNewRightUnsignedShiftCondition
-
withNewPlusCondition
-
withNewPlusConditionLike
-
withNewPlusCondition
-
withNewConstructCondition
-
withNewConstructConditionLike
-
withNewXorCondition
-
withNewXorConditionLike
-
withNewXorCondition
-
withNewPreIncrementCondition
-
withNewPreIncrementConditionLike
public IfFluent<A>.PreIncrementConditionNested<A> withNewPreIncrementConditionLike(PreIncrement item) -
withNewLessThanOrEqualCondition
-
withNewLessThanOrEqualConditionLike
public IfFluent<A>.LessThanOrEqualConditionNested<A> withNewLessThanOrEqualConditionLike(LessThanOrEqual item) -
withNewLessThanOrEqualCondition
-
withNewPositiveCondition
-
withNewPositiveConditionLike
-
buildStatement
-
withStatement
-
hasStatement
public boolean hasStatement() -
withNewMethodCallStatement
-
withNewMethodCallStatementLike
-
withNewSwitchStatement
-
withNewSwitchStatementLike
-
withNewBreakStatement
-
withNewBreakStatementLike
-
withNewDeclareStatement
-
withNewDeclareStatementLike
-
withNewDeclareStatement
-
withNewDeclareStatement
-
withNewWhileStatement
-
withNewWhileStatementLike
-
withNewContinueStatement
-
withNewContinueStatementLike
-
withNewStringStatement
-
withNewStringStatementLike
-
withNewStringStatement
-
withNewStringStatement
-
withNewDoStatement
-
withNewDoStatementLike
-
withNewForeachStatement
-
withNewForeachStatementLike
-
withNewBlockStatement
-
withNewBlockStatementLike
-
withNewIfStatement
-
withNewIfStatementLike
-
withNewLambdaStatement
-
withNewLambdaStatementLike
-
withNewReturnStatement
-
withNewReturnStatementLike
-
withNewReturnStatement
-
withNewAssignStatement
-
withNewAssignStatementLike
-
withNewForStatement
-
withNewForStatementLike
-
withElseStatement
-
withElseStatement
-
getElseStatement
-
hasElseStatement
public boolean hasElseStatement() -
equals
- Overrides:
equalsin classBaseFluent<A extends IfFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends IfFluent<A>>
-
toString
-
builder
-