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 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>
-
Field Summary
-
Fields inherited from class io.sundr.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description LambdaFluent()LambdaFluent(Lambda instance)
-
Method Summary
-
Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
-
-
-
Constructor Detail
-
LambdaFluent
public LambdaFluent()
-
LambdaFluent
public LambdaFluent(Lambda instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(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 Statement buildStatement()
-
hasStatement
public boolean hasStatement()
-
withNewMethodCallStatement
public LambdaFluent.MethodCallStatementNested<A> withNewMethodCallStatement()
-
withNewMethodCallStatementLike
public LambdaFluent.MethodCallStatementNested<A> withNewMethodCallStatementLike(MethodCall item)
-
withNewSwitchStatement
public LambdaFluent.SwitchStatementNested<A> withNewSwitchStatement()
-
withNewSwitchStatementLike
public LambdaFluent.SwitchStatementNested<A> withNewSwitchStatementLike(Switch item)
-
withNewBreakStatement
public LambdaFluent.BreakStatementNested<A> withNewBreakStatement()
-
withNewBreakStatementLike
public LambdaFluent.BreakStatementNested<A> withNewBreakStatementLike(Break item)
-
withNewDeclareStatement
public LambdaFluent.DeclareStatementNested<A> withNewDeclareStatement()
-
withNewDeclareStatementLike
public LambdaFluent.DeclareStatementNested<A> withNewDeclareStatementLike(Declare item)
-
withNewWhileStatement
public LambdaFluent.WhileStatementNested<A> withNewWhileStatement()
-
withNewWhileStatementLike
public LambdaFluent.WhileStatementNested<A> withNewWhileStatementLike(While item)
-
withNewContinueStatement
public LambdaFluent.ContinueStatementNested<A> withNewContinueStatement()
-
withNewContinueStatementLike
public LambdaFluent.ContinueStatementNested<A> withNewContinueStatementLike(Continue item)
-
withNewStringStatement
public LambdaFluent.StringStatementNested<A> withNewStringStatement()
-
withNewStringStatementLike
public LambdaFluent.StringStatementNested<A> withNewStringStatementLike(StringStatement item)
-
withNewDoStatement
public LambdaFluent.DoStatementNested<A> withNewDoStatement()
-
withNewDoStatementLike
public LambdaFluent.DoStatementNested<A> withNewDoStatementLike(Do item)
-
withNewForeachStatement
public LambdaFluent.ForeachStatementNested<A> withNewForeachStatement()
-
withNewForeachStatementLike
public LambdaFluent.ForeachStatementNested<A> withNewForeachStatementLike(Foreach item)
-
withNewBlockStatement
public LambdaFluent.BlockStatementNested<A> withNewBlockStatement()
-
withNewBlockStatementLike
public LambdaFluent.BlockStatementNested<A> withNewBlockStatementLike(Block item)
-
withNewIfStatement
public LambdaFluent.IfStatementNested<A> withNewIfStatement()
-
withNewIfStatementLike
public LambdaFluent.IfStatementNested<A> withNewIfStatementLike(If item)
-
withNewLambdaStatement
public LambdaFluent.LambdaStatementNested<A> withNewLambdaStatement()
-
withNewLambdaStatementLike
public LambdaFluent.LambdaStatementNested<A> withNewLambdaStatementLike(Lambda item)
-
withNewReturnStatement
public LambdaFluent.ReturnStatementNested<A> withNewReturnStatement()
-
withNewReturnStatementLike
public LambdaFluent.ReturnStatementNested<A> withNewReturnStatementLike(Return item)
-
withNewAssignStatement
public LambdaFluent.AssignStatementNested<A> withNewAssignStatement()
-
withNewAssignStatementLike
public LambdaFluent.AssignStatementNested<A> withNewAssignStatementLike(Assign item)
-
withNewForStatement
public LambdaFluent.ForStatementNested<A> withNewForStatement()
-
withNewForStatementLike
public LambdaFluent.ForStatementNested<A> withNewForStatementLike(For item)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseFluent<A extends LambdaFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseFluent<A extends LambdaFluent<A>>
-
builder
protected static <T> VisitableBuilder<T,?> builder(Object item)
-
-