UTBotJava icon indicating copy to clipboard operation
UTBotJava copied to clipboard

Java 12+ features support

Open alisevych opened this issue 3 years ago • 0 comments

Description

Support new Java features introduced in Java 12+

Expected behavior

Process them correctly, analyze and generate tests for them.

Environment

JDK 12+ IntelliJ IDEA 2022.2+ with JRE 17+

List of features

  • [ ] Strings New Methods:

Java 12:

  • indent(int n)
  • transform(Function f)
  • Optional describeConstable()
  • String resolveConstantDesc​(MethodHandles.Lookup lookup)

Java 13-15:

  • Text Blocks and new methods in String class
  • [ ] Switch statements: new features in Java 12, 13, 14, 17
  • [ ] File.mismatch method
  • [ ] Compact Number Formatting
  • [ ] Teeing Collectors
  • [ ] java.lang.constant
  • [ ] Pattern Matching for instanceof

... to be continued

alisevych avatar Sep 15 '22 14:09 alisevych