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

update javaparser to 2.4.0 #24

@sebastiankirsch

Description

@sebastiankirsch

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions