Package io.sundr.model
Class DeclareFluent<A extends DeclareFluent<A>>
java.lang.Object
io.sundr.builder.BaseFluent<A>
io.sundr.model.DeclareFluent<A>
- Direct Known Subclasses:
AssignFluent.DeclareTargetNested,AssignFluent.DeclareValueNested,BinaryExpressionFluent.DeclareLeftNested,BinaryExpressionFluent.DeclareRightNested,BlockFluent.DeclareStatementsNested,CastFluent.DeclareExpressionNested,ConstructFluent.DeclareArgumentsNested,DeclareBuilder,DeclareFluent.DeclareValueNested,DoFluent.DeclareConditionNested,DoFluent.DeclareStatementNested,EnclosedFluent.DeclareExpresionNested,ForeachFluent.DeclareBodyNested,ForeachFluent.DeclareExpressionNested,ForeachFluent.DeclareNested,ForFluent.DeclareBodyNested,ForFluent.DeclareCompareNested,ForFluent.DeclareInitNested,ForFluent.DeclareUpdateNested,IfDslConditionStepFluent.DeclareConditionNested,IfDslThenStepFluent.DeclareConditionNested,IfDslThenStepFluent.DeclareStatementsNested,IfFluent.DeclareConditionNested,IfFluent.DeclareElseStatementNested,IfFluent.DeclareStatementNested,IndexFluent.DeclareExpressionNested,InstanceOfFluent.DeclareExpressionNested,InverseFluent.DeclareExpresionNested,LambdaFluent.DeclareStatementNested,MethodCallFluent.DeclareArgumentsNested,NegativeFluent.DeclareExpresionNested,NewArrayFluent.DeclareExpressionsNested,NotFluent.DeclareExpresionNested,PositiveFluent.DeclareExpresionNested,PostDecrementFluent.DeclareExpressionNested,PostIncrementFluent.DeclareExpressionNested,PreDecrementFluent.DeclareExpressionNested,PreIncrementFluent.DeclareExpressionNested,PropertyFluent.DeclareInitialValueNested,ReturnFluent.DeclareExpressionNested,SwitchFluent.DeclareExpressionNested,SynchronizedFluent.DeclareBodyNested,SynchronizedFluent.DeclareLockExpressionNested,TernaryFluent.DeclareAlternativeNested,TernaryFluent.DeclareConditionNested,TernaryFluent.DeclareResultNested,ThrowFluent.DeclareExceptionNested,VariableFluent.DeclareInitialValueNested,WhileFluent.DeclareConditionNested,WhileFluent.DeclareStatementNested,WithScopeFluent.DeclareScopeNested
Generated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclass -
Field Summary
Fields inherited from class io.sundr.builder.BaseFluent
_visitables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToLocalVariables(int index, LocalVariable item) addToLocalVariables(LocalVariable... items) protected static <T> VisitableBuilder<T,?> buildLocalVariable(int index) buildMatchingLocalVariable(Predicate<LocalVariableBuilder> predicate) protected voidcopyInstance(Declare instance) editLocalVariable(int index) editMatchingLocalVariable(Predicate<LocalVariableBuilder> predicate) booleaninthashCode()booleanbooleanhasMatchingLocalVariable(Predicate<LocalVariableBuilder> predicate) booleanhasValue()removeFromLocalVariables(LocalVariable... items) setNewLocalVariableLike(int index, LocalVariable item) setToLocalVariables(int index, LocalVariable item) toString()withLocalVariables(LocalVariable... localVariables) withLocalVariables(List<LocalVariable> localVariables) withNewAssignValueLike(Assign item) withNewBitwiseAndValue(Object left, Object right) withNewBitwiseOrValue(Object left, Object right) withNewCastValueLike(Cast item) withNewContextRefValue(String name) withNewDeclareValue(Class type, String name) withNewDeclareValue(Class type, String name, Object value) withNewDivideValue(Object left, Object right) withNewDivideValueLike(Divide item) withNewEmptyValueLike(Empty item) withNewEqualsValue(Object left, Object right) withNewEqualsValueLike(Equals item) withNewFieldValueLike(Field item) withNewGreaterThanOrEqualValue(Object left, Object right) withNewGreaterThanValue(Object left, Object right) withNewIndexValueLike(Index item) withNewLambdaValueLike(Lambda item) withNewLeftShiftValue(Object left, Object right) withNewLessThanOrEqualValue(Object left, Object right) withNewLessThanValue(Object left, Object right) withNewLogicalAndValue(Object left, Object right) withNewLogicalOrValue(Object left, Object right) withNewMinusValue(Object left, Object right) withNewMinusValueLike(Minus item) withNewModuloValue(Object left, Object right) withNewModuloValueLike(Modulo item) withNewMultiplyValue(Object left, Object right) withNewNewArrayValue(Class type, Integer[] sizes) withNewNotEqualsValue(Object left, Object right) withNewNotValueLike(Not item) withNewPlusValue(Object left, Object right) withNewPlusValueLike(Plus item) withNewRightShiftValue(Object left, Object right) withNewRightUnsignedShiftValue(Object left, Object right) withNewSuperValueLike(Super item) withNewThisValueLike(This item) withNewValueRefValue(Object value) withNewXorValue(Object left, Object right) withNewXorValueLike(Xor item) withValue(Expression value) withValue(Optional<Expression> value) Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
Constructor Details
-
DeclareFluent
public DeclareFluent() -
DeclareFluent
-
-
Method Details
-
addAllToLocalVariables
-
addNewLocalVariable
-
addNewLocalVariableLike
-
addToLocalVariables
-
addToLocalVariables
-
buildFirstLocalVariable
-
buildLastLocalVariable
-
buildLocalVariable
-
buildLocalVariables
-
buildMatchingLocalVariable
-
buildValue
-
builder
-
copyInstance
-
editFirstLocalVariable
-
editLastLocalVariable
-
editLocalVariable
-
editMatchingLocalVariable
public DeclareFluent<A>.LocalVariablesNested<A> editMatchingLocalVariable(Predicate<LocalVariableBuilder> predicate) -
equals
- Overrides:
equalsin classBaseFluent<A extends DeclareFluent<A>>
-
hasLocalVariables
public boolean hasLocalVariables() -
hasMatchingLocalVariable
-
hasValue
public boolean hasValue() -
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends DeclareFluent<A>>
-
removeAllFromLocalVariables
-
removeFromLocalVariables
-
removeMatchingFromLocalVariables
-
setNewLocalVariableLike
public DeclareFluent<A>.LocalVariablesNested<A> setNewLocalVariableLike(int index, LocalVariable item) -
setToLocalVariables
-
toString
-
withLocalVariables
-
withLocalVariables
-
withNewArgumentValue
-
withNewArgumentValueLike
-
withNewAssignValue
-
withNewAssignValueLike
-
withNewBinaryExpressionValue
-
withNewBinaryExpressionValueLike
public DeclareFluent<A>.BinaryExpressionValueNested<A> withNewBinaryExpressionValueLike(BinaryExpression item) -
withNewBitwiseAndValue
-
withNewBitwiseAndValue
-
withNewBitwiseAndValueLike
-
withNewBitwiseOrValue
-
withNewBitwiseOrValue
-
withNewBitwiseOrValueLike
-
withNewCastValue
-
withNewCastValueLike
-
withNewClassRefValue
-
withNewClassRefValueLike
-
withNewConstructValue
-
withNewConstructValueLike
-
withNewContextRefValue
-
withNewContextRefValue
-
withNewContextRefValueLike
-
withNewDeclareValue
-
withNewDeclareValue
-
withNewDeclareValue
-
withNewDeclareValueLike
-
withNewDivideValue
-
withNewDivideValue
-
withNewDivideValueLike
-
withNewDotClassValue
-
withNewDotClassValueLike
-
withNewEmptyValue
-
withNewEmptyValueLike
-
withNewEnclosedValue
-
withNewEnclosedValueLike
-
withNewEqualsValue
-
withNewEqualsValue
-
withNewEqualsValueLike
-
withNewFieldRefValue
-
withNewFieldRefValueLike
-
withNewFieldValue
-
withNewFieldValueLike
-
withNewGreaterThanOrEqualValue
-
withNewGreaterThanOrEqualValue
-
withNewGreaterThanOrEqualValueLike
public DeclareFluent<A>.GreaterThanOrEqualValueNested<A> withNewGreaterThanOrEqualValueLike(GreaterThanOrEqual item) -
withNewGreaterThanValue
-
withNewGreaterThanValue
-
withNewGreaterThanValueLike
-
withNewIndexValue
-
withNewIndexValueLike
-
withNewInstanceOfValue
-
withNewInstanceOfValueLike
-
withNewInverseValue
-
withNewInverseValueLike
-
withNewLambdaValue
-
withNewLambdaValueLike
-
withNewLeftShiftValue
-
withNewLeftShiftValue
-
withNewLeftShiftValueLike
-
withNewLessThanOrEqualValue
-
withNewLessThanOrEqualValue
-
withNewLessThanOrEqualValueLike
public DeclareFluent<A>.LessThanOrEqualValueNested<A> withNewLessThanOrEqualValueLike(LessThanOrEqual item) -
withNewLessThanValue
-
withNewLessThanValue
-
withNewLessThanValueLike
-
withNewLocalVariableValue
-
withNewLocalVariableValueLike
public DeclareFluent<A>.LocalVariableValueNested<A> withNewLocalVariableValueLike(LocalVariable item) -
withNewLogicalAndValue
-
withNewLogicalAndValue
-
withNewLogicalAndValueLike
-
withNewLogicalOrValue
-
withNewLogicalOrValue
-
withNewLogicalOrValueLike
-
withNewMethodCallValue
-
withNewMethodCallValueLike
-
withNewMinusValue
-
withNewMinusValue
-
withNewMinusValueLike
-
withNewModuloValue
-
withNewModuloValue
-
withNewModuloValueLike
-
withNewMultiplyValue
-
withNewMultiplyValue
-
withNewMultiplyValueLike
-
withNewNegativeValue
-
withNewNegativeValueLike
-
withNewNewArrayValue
-
withNewNewArrayValue
-
withNewNewArrayValueLike
-
withNewNotEqualsValue
-
withNewNotEqualsValue
-
withNewNotEqualsValueLike
-
withNewNotValue
-
withNewNotValueLike
-
withNewPlusValue
-
withNewPlusValue
-
withNewPlusValueLike
-
withNewPositiveValue
-
withNewPositiveValueLike
-
withNewPostDecrementValue
-
withNewPostDecrementValueLike
public DeclareFluent<A>.PostDecrementValueNested<A> withNewPostDecrementValueLike(PostDecrement item) -
withNewPostIncrementValue
-
withNewPostIncrementValueLike
public DeclareFluent<A>.PostIncrementValueNested<A> withNewPostIncrementValueLike(PostIncrement item) -
withNewPreDecrementValue
-
withNewPreDecrementValueLike
-
withNewPreIncrementValue
-
withNewPreIncrementValueLike
-
withNewPropertyRefValue
-
withNewPropertyRefValueLike
-
withNewPropertyValue
-
withNewPropertyValueLike
-
withNewRightShiftValue
-
withNewRightShiftValue
-
withNewRightShiftValueLike
-
withNewRightUnsignedShiftValue
-
withNewRightUnsignedShiftValue
-
withNewRightUnsignedShiftValueLike
public DeclareFluent<A>.RightUnsignedShiftValueNested<A> withNewRightUnsignedShiftValueLike(RightUnsignedShift item) -
withNewSuperValue
-
withNewSuperValueLike
-
withNewTernaryValue
-
withNewTernaryValueLike
-
withNewThisValue
-
withNewThisValueLike
-
withNewValueRefValue
-
withNewValueRefValue
-
withNewValueRefValueLike
-
withNewXorValue
-
withNewXorValue
-
withNewXorValueLike
-
withValue
-
withValue
-