Uses of Class
spoon.pattern.InlinedStatementConfigurator
-
Uses of InlinedStatementConfigurator in spoon.pattern
Modifier and TypeMethodDescriptionInlinedStatementConfigurator.inlineIfOrForeachReferringTo(String variableName)
marks all CtIf and CtForEach whose expression contains a variable reference named `variableName` as inline statement.InlinedStatementConfigurator.markAsInlined(CtForEach foreach)
marksCtForEach
as inline statement.InlinedStatementConfigurator.markAsInlined(CtIf ifElement)
marksCtIf
as inline statement.InlinedStatementConfigurator.setConflictResolutionMode(ConflictResolutionMode conflictResolutionMode)
InlinedStatementConfigurator.setFailOnMissingParameter(boolean failOnMissingParameter)
Modifier and TypeMethodDescriptionPatternBuilder.configureInlineStatements(Consumer<InlinedStatementConfigurator> consumer)
Configures inlined statements For example if the `for` statement in this pattern model