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
Generated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclass -
Field Summary
Fields inherited from class io.sundr.builder.BaseFluent
_visitables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllToParameters(Collection<String> items) addToParameters(int index, String item) addToParameters(String... items) protected static <T> VisitableBuilder<T,?> protected voidcopyInstance(Lambda instance) booleangetMatchingParameter(Predicate<String> predicate) getParameter(int index) inthashCode()booleanhasMatchingParameter(Predicate<String> predicate) booleanbooleanremoveAllFromParameters(Collection<String> items) removeFromParameters(String... items) setToParameters(int index, String item) toString()withNewDeclareStatement(Class type, String name) withNewDeclareStatement(Class type, String name, Object value) withNewDoStatementLike(Do item) withNewForStatementLike(For item) withNewIfStatementLike(If item) withNewReturnStatement(Object object) withNewStringStatement(String data) withNewStringStatement(String data, Object[] parameters) withParameters(String... parameters) withParameters(List<String> parameters) withStatement(Statement statement) Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
Constructor Details
-
LambdaFluent
public LambdaFluent() -
LambdaFluent
-
-
Method Details
-
copyInstance
-
addToParameters
-
setToParameters
-
addToParameters
-
addAllToParameters
-
removeFromParameters
-
removeAllFromParameters
-
getParameters
-
getParameter
-
getFirstParameter
-
getLastParameter
-
getMatchingParameter
-
hasMatchingParameter
-
withParameters
-
withParameters
-
hasParameters
public boolean hasParameters() -
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
-
equals
- Overrides:
equalsin classBaseFluent<A extends LambdaFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends LambdaFluent<A>>
-
toString
-
builder
-