Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

update javaparser to 2.4.0 #24

Open
sebastiankirsch opened this issue May 20, 2016 · 0 comments
Open

update javaparser to 2.4.0 #24

sebastiankirsch opened this issue May 20, 2016 · 0 comments

Comments

@sebastiankirsch
Copy link
Contributor

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:

  • 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()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant