Package io.sundr.model
Class SwitchFluent<A extends SwitchFluent<A>>
- java.lang.Object
-
- io.sundr.builder.BaseFluent<A>
-
- io.sundr.model.SwitchFluent<A>
-
- Direct Known Subclasses:
BlockFluent.SwitchStatementsNested,DoFluent.SwitchStatementNested,ForeachFluent.SwitchBodyNested,ForFluent.SwitchBodyNested,IfFluent.SwitchStatementNested,LambdaFluent.SwitchStatementNested,SwitchBuilder,WhileFluent.SwitchStatementNested
public class SwitchFluent<A extends SwitchFluent<A>> extends io.sundr.builder.BaseFluent<A>Generated
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description SwitchFluent()SwitchFluent(io.sundr.model.Switch instance)
-
Method Summary
-
-
-
Method Detail
-
copyInstance
protected void copyInstance(io.sundr.model.Switch instance)
-
buildExpression
public io.sundr.model.Expression buildExpression()
-
withExpression
public A withExpression(io.sundr.model.Expression expression)
-
hasExpression
public boolean hasExpression()
-
withNewMultiplyExpression
public SwitchFluent.MultiplyExpressionNested<A> withNewMultiplyExpression()
-
withNewMultiplyExpressionLike
public SwitchFluent.MultiplyExpressionNested<A> withNewMultiplyExpressionLike(io.sundr.model.Multiply item)
-
withNewNewArrayExpression
public SwitchFluent.NewArrayExpressionNested<A> withNewNewArrayExpression()
-
withNewNewArrayExpressionLike
public SwitchFluent.NewArrayExpressionNested<A> withNewNewArrayExpressionLike(io.sundr.model.NewArray item)
-
withNewInstanceOfExpression
public SwitchFluent.InstanceOfExpressionNested<A> withNewInstanceOfExpression()
-
withNewInstanceOfExpressionLike
public SwitchFluent.InstanceOfExpressionNested<A> withNewInstanceOfExpressionLike(io.sundr.model.InstanceOf item)
-
withNewMethodCallExpression
public SwitchFluent.MethodCallExpressionNested<A> withNewMethodCallExpression()
-
withNewMethodCallExpressionLike
public SwitchFluent.MethodCallExpressionNested<A> withNewMethodCallExpressionLike(io.sundr.model.MethodCall item)
-
withNewInverseExpression
public SwitchFluent.InverseExpressionNested<A> withNewInverseExpression()
-
withNewInverseExpressionLike
public SwitchFluent.InverseExpressionNested<A> withNewInverseExpressionLike(io.sundr.model.Inverse item)
-
withNewIndexExpression
public SwitchFluent.IndexExpressionNested<A> withNewIndexExpression()
-
withNewIndexExpressionLike
public SwitchFluent.IndexExpressionNested<A> withNewIndexExpressionLike(io.sundr.model.Index item)
-
withNewGreaterThanOrEqualExpression
public SwitchFluent.GreaterThanOrEqualExpressionNested<A> withNewGreaterThanOrEqualExpression()
-
withNewGreaterThanOrEqualExpressionLike
public SwitchFluent.GreaterThanOrEqualExpressionNested<A> withNewGreaterThanOrEqualExpressionLike(io.sundr.model.GreaterThanOrEqual item)
-
withNewGreaterThanOrEqualExpression
public A withNewGreaterThanOrEqualExpression(Object left, Object right)
-
withNewBitwiseAndExpression
public SwitchFluent.BitwiseAndExpressionNested<A> withNewBitwiseAndExpression()
-
withNewBitwiseAndExpressionLike
public SwitchFluent.BitwiseAndExpressionNested<A> withNewBitwiseAndExpressionLike(io.sundr.model.BitwiseAnd item)
-
withNewMinusExpression
public SwitchFluent.MinusExpressionNested<A> withNewMinusExpression()
-
withNewMinusExpressionLike
public SwitchFluent.MinusExpressionNested<A> withNewMinusExpressionLike(io.sundr.model.Minus item)
-
withNewLogicalOrExpression
public SwitchFluent.LogicalOrExpressionNested<A> withNewLogicalOrExpression()
-
withNewLogicalOrExpressionLike
public SwitchFluent.LogicalOrExpressionNested<A> withNewLogicalOrExpressionLike(io.sundr.model.LogicalOr item)
-
withNewNotEqualsExpression
public SwitchFluent.NotEqualsExpressionNested<A> withNewNotEqualsExpression()
-
withNewNotEqualsExpressionLike
public SwitchFluent.NotEqualsExpressionNested<A> withNewNotEqualsExpressionLike(io.sundr.model.NotEquals item)
-
withNewDivideExpression
public SwitchFluent.DivideExpressionNested<A> withNewDivideExpression()
-
withNewDivideExpressionLike
public SwitchFluent.DivideExpressionNested<A> withNewDivideExpressionLike(io.sundr.model.Divide item)
-
withNewLessThanExpression
public SwitchFluent.LessThanExpressionNested<A> withNewLessThanExpression()
-
withNewLessThanExpressionLike
public SwitchFluent.LessThanExpressionNested<A> withNewLessThanExpressionLike(io.sundr.model.LessThan item)
-
withNewBitwiseOrExpression
public SwitchFluent.BitwiseOrExpressionNested<A> withNewBitwiseOrExpression()
-
withNewBitwiseOrExpressionLike
public SwitchFluent.BitwiseOrExpressionNested<A> withNewBitwiseOrExpressionLike(io.sundr.model.BitwiseOr item)
-
withNewPropertyRefExpression
public SwitchFluent.PropertyRefExpressionNested<A> withNewPropertyRefExpression()
-
withNewPropertyRefExpressionLike
public SwitchFluent.PropertyRefExpressionNested<A> withNewPropertyRefExpressionLike(io.sundr.model.PropertyRef item)
-
withNewRightShiftExpression
public SwitchFluent.RightShiftExpressionNested<A> withNewRightShiftExpression()
-
withNewRightShiftExpressionLike
public SwitchFluent.RightShiftExpressionNested<A> withNewRightShiftExpressionLike(io.sundr.model.RightShift item)
-
withNewGreaterThanExpression
public SwitchFluent.GreaterThanExpressionNested<A> withNewGreaterThanExpression()
-
withNewGreaterThanExpressionLike
public SwitchFluent.GreaterThanExpressionNested<A> withNewGreaterThanExpressionLike(io.sundr.model.GreaterThan item)
-
withNewDeclareExpression
public SwitchFluent.DeclareExpressionNested<A> withNewDeclareExpression()
-
withNewDeclareExpressionLike
public SwitchFluent.DeclareExpressionNested<A> withNewDeclareExpressionLike(io.sundr.model.Declare item)
-
withNewCastExpression
public SwitchFluent.CastExpressionNested<A> withNewCastExpression()
-
withNewCastExpressionLike
public SwitchFluent.CastExpressionNested<A> withNewCastExpressionLike(io.sundr.model.Cast item)
-
withNewModuloExpression
public SwitchFluent.ModuloExpressionNested<A> withNewModuloExpression()
-
withNewModuloExpressionLike
public SwitchFluent.ModuloExpressionNested<A> withNewModuloExpressionLike(io.sundr.model.Modulo item)
-
withNewValueRefExpression
public SwitchFluent.ValueRefExpressionNested<A> withNewValueRefExpression()
-
withNewValueRefExpressionLike
public SwitchFluent.ValueRefExpressionNested<A> withNewValueRefExpressionLike(io.sundr.model.ValueRef item)
-
withNewLeftShiftExpression
public SwitchFluent.LeftShiftExpressionNested<A> withNewLeftShiftExpression()
-
withNewLeftShiftExpressionLike
public SwitchFluent.LeftShiftExpressionNested<A> withNewLeftShiftExpressionLike(io.sundr.model.LeftShift item)
-
withNewTernaryExpression
public SwitchFluent.TernaryExpressionNested<A> withNewTernaryExpression()
-
withNewTernaryExpressionLike
public SwitchFluent.TernaryExpressionNested<A> withNewTernaryExpressionLike(io.sundr.model.Ternary item)
-
withNewBinaryExpression
public SwitchFluent.BinaryExpressionNested<A> withNewBinaryExpression()
-
withNewBinaryExpressionLike
public SwitchFluent.BinaryExpressionNested<A> withNewBinaryExpressionLike(io.sundr.model.BinaryExpression item)
-
withNewEqualsExpression
public SwitchFluent.EqualsExpressionNested<A> withNewEqualsExpression()
-
withNewEqualsExpressionLike
public SwitchFluent.EqualsExpressionNested<A> withNewEqualsExpressionLike(io.sundr.model.Equals item)
-
withNewEnclosedExpression
public SwitchFluent.EnclosedExpressionNested<A> withNewEnclosedExpression()
-
withNewEnclosedExpressionLike
public SwitchFluent.EnclosedExpressionNested<A> withNewEnclosedExpressionLike(io.sundr.model.Enclosed item)
-
withNewPreDecrementExpression
public SwitchFluent.PreDecrementExpressionNested<A> withNewPreDecrementExpression()
-
withNewPreDecrementExpressionLike
public SwitchFluent.PreDecrementExpressionNested<A> withNewPreDecrementExpressionLike(io.sundr.model.PreDecrement item)
-
withNewPostDecrementExpression
public SwitchFluent.PostDecrementExpressionNested<A> withNewPostDecrementExpression()
-
withNewPostDecrementExpressionLike
public SwitchFluent.PostDecrementExpressionNested<A> withNewPostDecrementExpressionLike(io.sundr.model.PostDecrement item)
-
withNewLambdaExpression
public SwitchFluent.LambdaExpressionNested<A> withNewLambdaExpression()
-
withNewLambdaExpressionLike
public SwitchFluent.LambdaExpressionNested<A> withNewLambdaExpressionLike(io.sundr.model.Lambda item)
-
withNewNotExpression
public SwitchFluent.NotExpressionNested<A> withNewNotExpression()
-
withNewNotExpressionLike
public SwitchFluent.NotExpressionNested<A> withNewNotExpressionLike(io.sundr.model.Not item)
-
withNewAssignExpression
public SwitchFluent.AssignExpressionNested<A> withNewAssignExpression()
-
withNewAssignExpressionLike
public SwitchFluent.AssignExpressionNested<A> withNewAssignExpressionLike(io.sundr.model.Assign item)
-
withNewNegativeExpression
public SwitchFluent.NegativeExpressionNested<A> withNewNegativeExpression()
-
withNewNegativeExpressionLike
public SwitchFluent.NegativeExpressionNested<A> withNewNegativeExpressionLike(io.sundr.model.Negative item)
-
withNewThisExpression
public SwitchFluent.ThisExpressionNested<A> withNewThisExpression()
-
withNewThisExpressionLike
public SwitchFluent.ThisExpressionNested<A> withNewThisExpressionLike(io.sundr.model.This item)
-
withNewLogicalAndExpression
public SwitchFluent.LogicalAndExpressionNested<A> withNewLogicalAndExpression()
-
withNewLogicalAndExpressionLike
public SwitchFluent.LogicalAndExpressionNested<A> withNewLogicalAndExpressionLike(io.sundr.model.LogicalAnd item)
-
withNewPostIncrementExpression
public SwitchFluent.PostIncrementExpressionNested<A> withNewPostIncrementExpression()
-
withNewPostIncrementExpressionLike
public SwitchFluent.PostIncrementExpressionNested<A> withNewPostIncrementExpressionLike(io.sundr.model.PostIncrement item)
-
withNewRightUnsignedShiftExpression
public SwitchFluent.RightUnsignedShiftExpressionNested<A> withNewRightUnsignedShiftExpression()
-
withNewRightUnsignedShiftExpressionLike
public SwitchFluent.RightUnsignedShiftExpressionNested<A> withNewRightUnsignedShiftExpressionLike(io.sundr.model.RightUnsignedShift item)
-
withNewRightUnsignedShiftExpression
public A withNewRightUnsignedShiftExpression(Object left, Object right)
-
withNewPlusExpression
public SwitchFluent.PlusExpressionNested<A> withNewPlusExpression()
-
withNewPlusExpressionLike
public SwitchFluent.PlusExpressionNested<A> withNewPlusExpressionLike(io.sundr.model.Plus item)
-
withNewConstructExpression
public SwitchFluent.ConstructExpressionNested<A> withNewConstructExpression()
-
withNewConstructExpressionLike
public SwitchFluent.ConstructExpressionNested<A> withNewConstructExpressionLike(io.sundr.model.Construct item)
-
withNewXorExpression
public SwitchFluent.XorExpressionNested<A> withNewXorExpression()
-
withNewXorExpressionLike
public SwitchFluent.XorExpressionNested<A> withNewXorExpressionLike(io.sundr.model.Xor item)
-
withNewPreIncrementExpression
public SwitchFluent.PreIncrementExpressionNested<A> withNewPreIncrementExpression()
-
withNewPreIncrementExpressionLike
public SwitchFluent.PreIncrementExpressionNested<A> withNewPreIncrementExpressionLike(io.sundr.model.PreIncrement item)
-
withNewLessThanOrEqualExpression
public SwitchFluent.LessThanOrEqualExpressionNested<A> withNewLessThanOrEqualExpression()
-
withNewLessThanOrEqualExpressionLike
public SwitchFluent.LessThanOrEqualExpressionNested<A> withNewLessThanOrEqualExpressionLike(io.sundr.model.LessThanOrEqual item)
-
withNewLessThanOrEqualExpression
public A withNewLessThanOrEqualExpression(Object left, Object right)
-
withNewPositiveExpression
public SwitchFluent.PositiveExpressionNested<A> withNewPositiveExpression()
-
withNewPositiveExpressionLike
public SwitchFluent.PositiveExpressionNested<A> withNewPositiveExpressionLike(io.sundr.model.Positive item)
-
addToCases
public A addToCases(io.sundr.model.ValueRef key, io.sundr.model.Block value)
-
removeFromCases
public A removeFromCases(io.sundr.model.ValueRef key)
-
getCases
public Map<io.sundr.model.ValueRef,io.sundr.model.Block> getCases()
-
hasCases
public boolean hasCases()
-
withDefaultCase
public A withDefaultCase(io.sundr.model.Block defaultCase)
-
buildDefaultCase
public Optional<io.sundr.model.Block> buildDefaultCase()
-
hasDefaultCase
public boolean hasDefaultCase()
-
withNewDefaultCase
public SwitchFluent.DefaultCaseNested<A> withNewDefaultCase()
-
withNewDefaultCaseLike
public SwitchFluent.DefaultCaseNested<A> withNewDefaultCaseLike(io.sundr.model.Block item)
-
editDefaultCase
public SwitchFluent.DefaultCaseNested<A> editDefaultCase()
-
editOrNewDefaultCase
public <T> SwitchFluent.DefaultCaseNested<?> editOrNewDefaultCase()
-
editOrNewDefaultCaseLike
public SwitchFluent.DefaultCaseNested<A> editOrNewDefaultCaseLike(io.sundr.model.Block item)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.sundr.builder.BaseFluent<A extends SwitchFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.sundr.builder.BaseFluent<A extends SwitchFluent<A>>
-
builder
protected static <T> io.sundr.builder.VisitableBuilder<T,?> builder(Object item)
-
-