Package io.codemodder.javaparser
Interface CallReplacer.CallReplacerBuilder
- Enclosing interface:
- CallReplacer
public static interface CallReplacer.CallReplacerBuilder
Builder for
CallReplacer
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
withNewArguments
(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> newArguments) Replace with a static method call with new arguments.boolean
Replace with a static method call with the same arguments.Use a static import.
-
Method Details
-
withStaticImport
CallReplacer.CallReplacerBuilder withStaticImport()Use a static import. -
withNewArguments
boolean withNewArguments(com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.Expression> newArguments) Replace with a static method call with new arguments. -
withSameArguments
boolean withSameArguments()Replace with a static method call with the same arguments.
-