Skip to content

Commit 10d92da

Browse files
authored
Merge pull request #108 from smillst/updating-javaparser-parent-3.25.0
Update to JavaParser 3.25.0
2 parents ac6b583 + ba6f4ee commit 10d92da

File tree

1,233 files changed

+5696
-1644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,233 files changed

+5696
-1644
lines changed

.github/workflows/create_github_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3.2.0
16+
uses: actions/checkout@v3.3.0
1717

1818
- name: Create Release
1919
id: create_release

.github/workflows/maven_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
steps:
4747
## Checkout the current version of the code from the repo.
4848
- name: Checkout latest code
49-
uses: actions/checkout@v3.2.0
49+
uses: actions/checkout@v3.3.0
5050
with:
5151
fetch-depth: "0"
5252

@@ -89,7 +89,7 @@ jobs:
8989
timeout-minutes: 10
9090
with:
9191
files: javaparser-core-testing/target/site/jacoco/jacoco.xml,javaparser-core-testing-bdd/target/site/jacoco/jacoco.xml
92-
fail_ci_if_error: false # optional (default = false)
92+
fail_ci_if_error: false # optional (default = false) -- fail the build if upload to codecov.io fails
9393
verbose: false # optional (default = false):
9494
flags: javaparser-core,AlsoSlowTests,${{ matrix.os }},jdk-${{ matrix.jdk }}
9595
env_vars: OS,JDK
@@ -99,7 +99,7 @@ jobs:
9999
timeout-minutes: 10
100100
with:
101101
file: javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml
102-
fail_ci_if_error: false # optional (default = false)
102+
fail_ci_if_error: false # optional (default = false) -- fail the build if upload to codecov.io fails
103103
verbose: false # optional (default = false):
104104
flags: javaparser-symbol-solver,AlsoSlowTests,${{ matrix.os }},jdk-${{ matrix.jdk }}
105105
env_vars: OS,JDK
@@ -110,7 +110,7 @@ jobs:
110110
runs-on: ubuntu-latest
111111
steps:
112112
- name: Checkout latest code
113-
uses: actions/checkout@v3.2.0
113+
uses: actions/checkout@v3.3.0
114114
with:
115115
fetch-depth: "0"
116116
- name: Set up JDK 11

.github/workflows/prepare_release_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
# Check out current repository
1717
- name: Fetch Sources
18-
uses: actions/checkout@v3.2.0
18+
uses: actions/checkout@v3.3.0
1919

2020
# Setup Java 11 environment for the next steps
2121
- name: Setup Java

changelog.md

Lines changed: 67 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
Next Release (Version 3.24.11)
2+
Next Release (Version 3.25.1)
33
------------------
4-
[issues resolved](https://github.com/javaparser/javaparser/milestone/195?closed=1)
4+
[issues resolved](https://github.com/javaparser/javaparser/milestone/197?closed=1)
55

66
### Added
77
### Changed
@@ -11,6 +11,71 @@ Next Release (Version 3.24.11)
1111
### Security
1212

1313

14+
Version 3.25.0
15+
--------------
16+
17+
[issues resolved](https://github.com/javaparser/javaparser/milestone/196?closed=1)
18+
19+
### Added
20+
21+
* First part of the implementation of least upper bound logic (PR [#3880](https://github.com/javaparser/javaparser/pull/3880) by [@jlerbsc](https://github.com/jlerbsc))
22+
* feat: Improved support for calculating the type of an object creation… (PR [#3877](https://github.com/javaparser/javaparser/pull/3877) by [@jlerbsc](https://github.com/jlerbsc))
23+
* feat: Implement addRecord & getRecordByName for CompilationUnit (PR [#3836](https://github.com/javaparser/javaparser/pull/3836) by [@marcluque](https://github.com/marcluque))
24+
* Support Jigsaw requires static (PR [#3826](https://github.com/javaparser/javaparser/pull/3826) by [@jlerbsc](https://github.com/jlerbsc))
25+
* Add toDescriptor to ResolvedMethodDeclaration (PR [#3819](https://github.com/javaparser/javaparser/pull/3819) by [@vanHekthor](https://github.com/vanHekthor))
26+
* Refactoring context (WIP) (PR [#3792](https://github.com/javaparser/javaparser/pull/3792) by [@jlerbsc](https://github.com/jlerbsc))
27+
* Refactoring context (WIP) (PR [#3782](https://github.com/javaparser/javaparser/pull/3782) by [@jlerbsc](https://github.com/jlerbsc))
28+
* Refactoring convert to usage (PR [#3774](https://github.com/javaparser/javaparser/pull/3774) by [@jlerbsc](https://github.com/jlerbsc))
29+
* Simplified usage of class AssociableToAST (PR [#3063](https://github.com/javaparser/javaparser/pull/3063) by [@4everTheOne](https://github.com/4everTheOne))
30+
31+
### Changed
32+
33+
* Revert import related checkstyle rule from error to warning (PR [#3881](https://github.com/javaparser/javaparser/pull/3881) by [@jlerbsc](https://github.com/jlerbsc))
34+
* Minor refactoring for example to get all parameter types (PR [#3879](https://github.com/javaparser/javaparser/pull/3879) by [@jlerbsc](https://github.com/jlerbsc))
35+
* Add header and footer methods in comments instead of using literal st… (PR [#3876](https://github.com/javaparser/javaparser/pull/3876) by [@jlerbsc](https://github.com/jlerbsc))
36+
* In the context of lexical preservation, the CSM token must be added m… (PR [#3874](https://github.com/javaparser/javaparser/pull/3874) by [@jlerbsc](https://github.com/jlerbsc))
37+
* Refactoring: remove useless code that is already implemented (PR [#3869](https://github.com/javaparser/javaparser/pull/3869) by [@jlerbsc](https://github.com/jlerbsc))
38+
* Memory usage improvement when printing a node from the LexicalPreserv… (PR [#3858](https://github.com/javaparser/javaparser/pull/3858) by [@jlerbsc](https://github.com/jlerbsc))
39+
* chore(deps-dev): bump assertj-core from 3.24.1 to 3.24.2 (PR [#3852](https://github.com/javaparser/javaparser/pull/3852) by [@dependabot[bot]](https://github.com/apps/dependabot))
40+
* chore(deps): bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 (PR [#3846](https://github.com/javaparser/javaparser/pull/3846) by [@dependabot[bot]](https://github.com/apps/dependabot))
41+
* chore(deps): bump maven-dependency-plugin from 3.4.0 to 3.5.0 (PR [#3845](https://github.com/javaparser/javaparser/pull/3845) by [@dependabot[bot]](https://github.com/apps/dependabot))
42+
* chore(deps): update junit5 monorepo to v5.9.2 (PR [#3840](https://github.com/javaparser/javaparser/pull/3840) by [@renovate[bot]](https://github.com/apps/renovate))
43+
* Minor refactoring on Difference class (PR [#3839](https://github.com/javaparser/javaparser/pull/3839) by [@jlerbsc](https://github.com/jlerbsc))
44+
* chore(deps-dev): bump assertj-core from 3.23.1 to 3.24.1 (PR [#3837](https://github.com/javaparser/javaparser/pull/3837) by [@dependabot[bot]](https://github.com/apps/dependabot))
45+
* chore(deps): bump actions/checkout from 3.2.0 to 3.3.0 (PR [#3834](https://github.com/javaparser/javaparser/pull/3834) by [@dependabot[bot]](https://github.com/apps/dependabot))
46+
* chore(deps): bump checkstyle from 10.5.0 to 10.6.0 (PR [#3829](https://github.com/javaparser/javaparser/pull/3829) by [@dependabot[bot]](https://github.com/apps/dependabot))
47+
48+
### Fixed
49+
50+
* Fix: Method hasScope must return true on NodeWithOptionalScope and No… (PR [#3875](https://github.com/javaparser/javaparser/pull/3875) by [@jlerbsc](https://github.com/jlerbsc))
51+
* fix #3859 UnsupportedOperationException when trying to resolve a type… (PR [#3873](https://github.com/javaparser/javaparser/pull/3873) by [@abego](https://github.com/abego))
52+
* Fix: issue 3866 Symbol solver is unable to resolve inner classes of ancestors when they are prefixed with a subclass (PR [#3868](https://github.com/javaparser/javaparser/pull/3868) by [@jlerbsc](https://github.com/jlerbsc))
53+
* Fix: issue 3703 Allow removing empty parentheses after removing all pairs from an annotation (PR [#3865](https://github.com/javaparser/javaparser/pull/3865) by [@jlerbsc](https://github.com/jlerbsc))
54+
* Fix: One must be able to know if any resolved type is a boxed primiti… (PR [#3864](https://github.com/javaparser/javaparser/pull/3864) by [@jlerbsc](https://github.com/jlerbsc))
55+
* Fix: Issue 2374 Comments of added Nodes are ignored in LexicalPreserv… (PR [#3856](https://github.com/javaparser/javaparser/pull/3856) by [@jlerbsc](https://github.com/jlerbsc))
56+
* Checkstyle for unused import (PR [#3841](https://github.com/javaparser/javaparser/pull/3841) by [@4everTheOne](https://github.com/4everTheOne))
57+
* Update bnd file (PR [#3783](https://github.com/javaparser/javaparser/pull/3783) by [@jlerbsc](https://github.com/jlerbsc))
58+
59+
### Developer Changes
60+
61+
* Update javaparser copyright headers (PR [#3862](https://github.com/javaparser/javaparser/pull/3862) by [@jlerbsc](https://github.com/jlerbsc))
62+
63+
### Uncategorised
64+
65+
* Add test case to verify range calculation on ArrayType (PR [#3828](https://github.com/javaparser/javaparser/pull/3828) by [@jlerbsc](https://github.com/jlerbsc))
66+
* Add test case to verify that LexicalPreservation supports TextBlock (PR [#3827](https://github.com/javaparser/javaparser/pull/3827) by [@jlerbsc](https://github.com/jlerbsc))
67+
* Refactoring: Removing useless method convertToUsage in JavaParserFacade (PR [#3780](https://github.com/javaparser/javaparser/pull/3780) by [@jlerbsc](https://github.com/jlerbsc))
68+
69+
### :heart: Contributors
70+
71+
Thank You to all contributors who worked on this release!
72+
73+
* [@vanHekthor](https://github.com/vanHekthor)
74+
* [@abego](https://github.com/abego)
75+
* [@jlerbsc](https://github.com/jlerbsc)
76+
* [@marcluque](https://github.com/marcluque)
77+
* [@4everTheOne](https://github.com/4everTheOne)
78+
1479

1580
Version 3.24.10
1681
---------------

dev-files/JavaParser-CheckStyle.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@
3636
<property name="standardPackageRegExp" value="^java\."/>
3737
<property name="sortImportsInGroupAlphabetically" value="false"/>
3838
<property name="separateLineBetweenGroups" value="false"/>
39+
<property name="severity" value="warning" />
3940
</module>
4041

42+
<!-- Imports that are not used, should be removed -->
43+
<module name="UnusedImports"/>
44+
4145
</module>
42-
</module>
46+
</module>

javaparser-core-generators/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>javaparser-parent</artifactId>
55
<groupId>com.github.javaparser</groupId>
6-
<version>3.24.10</version>
6+
<version>3.25.0</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99

javaparser-core-generators/src/main/java/com/github/javaparser/generator/CompilationUnitGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3-
* Copyright (C) 2011, 2013-2021 The JavaParser Team.
3+
* Copyright (C) 2011, 2013-2023 The JavaParser Team.
44
*
55
* This file is part of JavaParser.
66
*

javaparser-core-generators/src/main/java/com/github/javaparser/generator/Generator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3-
* Copyright (C) 2011, 2013-2021 The JavaParser Team.
3+
* Copyright (C) 2011, 2013-2023 The JavaParser Team.
44
*
55
* This file is part of JavaParser.
66
*

javaparser-core-generators/src/main/java/com/github/javaparser/generator/NodeGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3-
* Copyright (C) 2011, 2013-2021 The JavaParser Team.
3+
* Copyright (C) 2011, 2013-2023 The JavaParser Team.
44
*
55
* This file is part of JavaParser.
66
*

javaparser-core-generators/src/main/java/com/github/javaparser/generator/VisitorGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3-
* Copyright (C) 2011, 2013-2021 The JavaParser Team.
3+
* Copyright (C) 2011, 2013-2023 The JavaParser Team.
44
*
55
* This file is part of JavaParser.
66
*

0 commit comments

Comments
 (0)