JavaParser v3.18.0 Release Notes

Release Date: 2020-12-01 // over 3 years ago
  • ๐Ÿ“œ issues resolved

    โž• Added

    • โž• Add a convenient method (hasRange) to the interface NodeWithRange
      (PR #2929, by @jlerbsc)
    • โž• Add test case to issue 1017 LambdaExpr left side too permissive (PR #2946, by @jlerbsc)
    • โž• Added Pattern Matching for instanceof (Java 14 preview, Java 15 second preview, Java 16 targeted release) (PR #2654, by @MysterAitch)
    • โž• Added java 15 (latest released) and java 16 (bleeding edge) language level options, incl. some validators / post processors / configuration options (PR #2959, by @MysterAitch) ### ๐Ÿ”„ Changed
    • 0๏ธโƒฃ Minor change in PrettyPrinterConfiguration : adding default char in enum IndentType (PR #2948, by @jlerbsc)
    • ๐Ÿ”จ Minor refactoring rename interface Printable to Stringable. Something that has a printable form. I.e., it can be converted to a user-facing String (PR #2949, by @jlerbsc)
    • โž• Adding interface Printable for printer (PR #2950, by @jlerbsc)
    • ๐Ÿ”จ Minor refactoring in ResolvedReferenceType and add corresponding tests (PR #2955, by @jlerbsc)
    • ๐Ÿ‘‰ Tweak the property generator to add imports when generating and improve the typecastinggenerator's error message (PR #2957, by @MysterAitch)
    • โฌ†๏ธ Bump mockito-core from 3.6.0 to 3.6.28 (PR #2942, by dependabot ### โœ‚ Removed
    • โœ‚ Removed .travis.yml -- per #2919 (PR #2958, by @MysterAitch) ### ๐Ÿ›  Fixed
    • Issue 2909 Improving search for the most relevant declaration of the specified class
      (PR #2927, by @jlerbsc)
    • Issue 2926 NoSuchElementException in PhantomNodeLogic after adding node
      (PR #2930, by @jlerbsc)
    • Issue 2909 try different bottom / up and try with type solver strategies (PR #2931, by @jlerbsc)
    • Issue 2936 Triggering observer notifications for the NodeList iterator (PR #2938, by @MysterAitch)
    • Issue 2065 Problem resolving type of lambda with Math method invocation inside (PR #2945, by @jlerbsc)
    • Issue 2740 Issue related to a method call in an anonymous class on a field with a private visibility (PR #2947, by @jlerbsc)
    • Issue 2951 Cannot solve function with List argument defined in jar (PR #2952, by @qzchenwl)
    • Issue 2781 Resolve Stack overflow occurs when the name of the interface implemented by the class is the same as the name of the internal class (PR #2956, by @jlerbsc)
    • 0๏ธโƒฃ Issue 2953 UnsolvedSymbolException throw when resolving method in enum class implement in interface by default.
      (PR #2954, by @qzchenwl)
    • ๐Ÿ›  Fixed MethodCallExprContext generic parameter issue. (NullType must not fail matchTypeParameters) (PR #2939, by @zcbbpo)
    • Issue 2943 UnsolvedSymbolException thrown on Stream.<func>(<some lambda>) (PR #2961, by @qzchenwl)
    • ๐Ÿ“œ Issue 1945 JavaParser choking on multiple generic method calls on the same line (PR #2966, by @jlerbsc)