To keep changes required for Java9 small, javaparser should be updated from 2.3.0 to 2.4.0. Changes are those: https://github.com/javaparser/javaparser/compare/924683c1956ce1ebe1b17eca3ef773b7b85abf20...9d870494c0e3392c7d4353904a40ff8737dc09a4 There are new types that may be relevant for the custom visitors: - java/com/github/javaparser/ast/TypeArguments - java/com/github/javaparser/ast/type/IntersectionType - java/com/github/javaparser/ast/type/UnionType - java/com/github/javaparser/ast/type/ReferenceTypeWithAnnotations - java/com/github/javaparser/ast/type/ClassOrInterfaceTypeWithAnnotations This may be adapted/helpful as well: - ClassOrInterfaceType.getTypeArgs() now offers `isUsingDiamondOperator()` - TryStatement.type - CastExpression.st, CastExpression.typeOfMultiCast - ImportDeclaration.isEmptyImportDeclaration() - PackageDeclaration.getPackageName()
To keep changes required for Java9 small, javaparser should be updated from 2.3.0 to 2.4.0.
Changes are those: javaparser/javaparser@924683c...9d87049
There are new types that may be relevant for the custom visitors:
This may be adapted/helpful as well:
isUsingDiamondOperator()