Package io.sundr.model
Class LambdaFluent<A extends LambdaFluent<A>>
- java.lang.Object
-
- io.sundr.builder.BaseFluent<A>
-
- io.sundr.model.LambdaFluent<A>
-
- Direct Known Subclasses:
AssignFluent.LambdaTargetNested,AssignFluent.LambdaValueNested,BinaryExpressionFluent.LambdaLeftNested,BinaryExpressionFluent.LambdaRightNested,BlockFluent.LambdaStatementsNested,CastFluent.LambdaExpressionNested,ConstructFluent.LambdaArgumentsNested,DoFluent.LambdaConditionNested,DoFluent.LambdaStatementNested,EnclosedFluent.LambdaExpresionNested,ForeachFluent.LambdaBodyNested,ForeachFluent.LambdaExpressionNested,ForFluent.LambdaBodyNested,ForFluent.LambdaCompareNested,ForFluent.LambdaInitNested,ForFluent.LambdaUpdateNested,IfFluent.LambdaConditionNested,IfFluent.LambdaStatementNested,IndexFluent.LambdaExpressionNested,IndexFluent.LambdaScopeNested,InstanceOfFluent.LambdaExpressionNested,InverseFluent.LambdaExpresionNested,LambdaBuilder,LambdaFluent.LambdaStatementNested,MethodCallFluent.LambdaArgumentsNested,MethodCallFluent.LambdaScopeNested,NegativeFluent.LambdaExpresionNested,NewArrayFluent.LambdaExpressionsNested,NotFluent.LambdaExpresionNested,PositiveFluent.LambdaExpresionNested,PostDecrementFluent.LambdaExpressionNested,PostIncrementFluent.LambdaExpressionNested,PreDecrementFluent.LambdaExpressionNested,PreIncrementFluent.LambdaExpressionNested,PropertyRefFluent.LambdaScopeNested,ReturnFluent.LambdaExpressionNested,SwitchFluent.LambdaExpressionNested,TernaryFluent.LambdaAlternativeNested,TernaryFluent.LambdaConditionNested,TernaryFluent.LambdaResultNested,WhileFluent.LambdaConditionNested,WhileFluent.LambdaStatementNested
public class LambdaFluent<A extends LambdaFluent<A>> extends io.sundr.builder.BaseFluent<A>Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classLambdaFluent.AssignStatementNested<N>classLambdaFluent.BlockStatementNested<N>classLambdaFluent.BreakStatementNested<N>classLambdaFluent.ContinueStatementNested<N>classLambdaFluent.DeclareStatementNested<N>classLambdaFluent.DoStatementNested<N>classLambdaFluent.ForeachStatementNested<N>classLambdaFluent.ForStatementNested<N>classLambdaFluent.IfStatementNested<N>classLambdaFluent.LambdaStatementNested<N>classLambdaFluent.MethodCallStatementNested<N>classLambdaFluent.ReturnStatementNested<N>classLambdaFluent.StringStatementNested<N>classLambdaFluent.SwitchStatementNested<N>classLambdaFluent.WhileStatementNested<N>
-
Constructor Summary
Constructors Constructor Description LambdaFluent()LambdaFluent(io.sundr.model.Lambda instance)
-
Method Summary
-
-
-
Method Detail
-
copyInstance
protected void copyInstance(io.sundr.model.Lambda instance)
-
addAllToParameters
public A addAllToParameters(Collection<String> items)
-
removeAllFromParameters
public A removeAllFromParameters(Collection<String> items)
-
getParameter
public String getParameter(int index)
-
getFirstParameter
public String getFirstParameter()
-
getLastParameter
public String getLastParameter()
-
hasParameters
public boolean hasParameters()
-
buildStatement
public io.sundr.model.Statement buildStatement()
-
withStatement
public A withStatement(io.sundr.model.Statement statement)
-
hasStatement
public boolean hasStatement()
-
withNewMethodCallStatement
public LambdaFluent.MethodCallStatementNested<A> withNewMethodCallStatement()
-
withNewMethodCallStatementLike
public LambdaFluent.MethodCallStatementNested<A> withNewMethodCallStatementLike(io.sundr.model.MethodCall item)
-
withNewSwitchStatement
public LambdaFluent.SwitchStatementNested<A> withNewSwitchStatement()
-
withNewSwitchStatementLike
public LambdaFluent.SwitchStatementNested<A> withNewSwitchStatementLike(io.sundr.model.Switch item)
-
withNewBreakStatement
public LambdaFluent.BreakStatementNested<A> withNewBreakStatement()
-
withNewBreakStatementLike
public LambdaFluent.BreakStatementNested<A> withNewBreakStatementLike(io.sundr.model.Break item)
-
withNewDeclareStatement
public LambdaFluent.DeclareStatementNested<A> withNewDeclareStatement()
-
withNewDeclareStatementLike
public LambdaFluent.DeclareStatementNested<A> withNewDeclareStatementLike(io.sundr.model.Declare item)
-
withNewWhileStatement
public LambdaFluent.WhileStatementNested<A> withNewWhileStatement()
-
withNewWhileStatementLike
public LambdaFluent.WhileStatementNested<A> withNewWhileStatementLike(io.sundr.model.While item)
-
withNewContinueStatement
public LambdaFluent.ContinueStatementNested<A> withNewContinueStatement()
-
withNewContinueStatementLike
public LambdaFluent.ContinueStatementNested<A> withNewContinueStatementLike(io.sundr.model.Continue item)
-
withNewStringStatement
public LambdaFluent.StringStatementNested<A> withNewStringStatement()
-
withNewStringStatementLike
public LambdaFluent.StringStatementNested<A> withNewStringStatementLike(io.sundr.model.StringStatement item)
-
withNewDoStatement
public LambdaFluent.DoStatementNested<A> withNewDoStatement()
-
withNewDoStatementLike
public LambdaFluent.DoStatementNested<A> withNewDoStatementLike(io.sundr.model.Do item)
-
withNewForeachStatement
public LambdaFluent.ForeachStatementNested<A> withNewForeachStatement()
-
withNewForeachStatementLike
public LambdaFluent.ForeachStatementNested<A> withNewForeachStatementLike(io.sundr.model.Foreach item)
-
withNewBlockStatement
public LambdaFluent.BlockStatementNested<A> withNewBlockStatement()
-
withNewBlockStatementLike
public LambdaFluent.BlockStatementNested<A> withNewBlockStatementLike(io.sundr.model.Block item)
-
withNewIfStatement
public LambdaFluent.IfStatementNested<A> withNewIfStatement()
-
withNewIfStatementLike
public LambdaFluent.IfStatementNested<A> withNewIfStatementLike(io.sundr.model.If item)
-
withNewLambdaStatement
public LambdaFluent.LambdaStatementNested<A> withNewLambdaStatement()
-
withNewLambdaStatementLike
public LambdaFluent.LambdaStatementNested<A> withNewLambdaStatementLike(io.sundr.model.Lambda item)
-
withNewReturnStatement
public LambdaFluent.ReturnStatementNested<A> withNewReturnStatement()
-
withNewReturnStatementLike
public LambdaFluent.ReturnStatementNested<A> withNewReturnStatementLike(io.sundr.model.Return item)
-
withNewAssignStatement
public LambdaFluent.AssignStatementNested<A> withNewAssignStatement()
-
withNewAssignStatementLike
public LambdaFluent.AssignStatementNested<A> withNewAssignStatementLike(io.sundr.model.Assign item)
-
withNewForStatement
public LambdaFluent.ForStatementNested<A> withNewForStatement()
-
withNewForStatementLike
public LambdaFluent.ForStatementNested<A> withNewForStatementLike(io.sundr.model.For item)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.sundr.builder.BaseFluent<A extends LambdaFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.sundr.builder.BaseFluent<A extends LambdaFluent<A>>
-
builder
protected static <T> io.sundr.builder.VisitableBuilder<T,?> builder(Object item)
-
-