Package io.codemodder.javaparser
Interface JavaParserTransformer.ExpressionWrapper
- Enclosing class:
- JavaParserTransformer
public static interface JavaParserTransformer.ExpressionWrapper
-
Method Summary
Modifier and TypeMethodDescriptionboolean
withStaticMethod
(String className, String methodName, boolean isStaticImport) Performs the actual transformation of wrapping the given expression with the given static method.
-
Method Details
-
withStaticMethod
Performs the actual transformation of wrapping the given expression with the given static method.- Parameters:
className
- the class name of the static methodmethodName
- the method nameisStaticImport
- whether or not the static method is imported- Returns:
- true if the transformation was successful, false otherwise
-