Commit Graph

2996 Commits

Author SHA1 Message Date
0ef6dd144d Merge branch 'master' into 7.0.x 2020-03-20 18:04:17 +01:00
fa39505f5a Checkstyle 2020-03-20 03:00:43 +01:00
e577169862 Cleanup some usages of CollectionUtil 2020-03-20 01:32:55 +01:00
55915fe5ab Fix build (java: ASTRecord::getDeclarations()) 2020-03-19 12:41:27 +01:00
f1a6796b78 Checkstyle 2020-03-18 22:41:01 +01:00
fd87420953 Merge branch '7.0.x' into simplify-metrics-framework-on-7 2020-03-18 00:34:38 +01:00
8fb9d2e74d Implement for java 2020-03-17 19:57:22 +01:00
84ca3c63c0 Merge branch 'remove-multifile' into 7.0.x 2020-03-17 15:18:45 +01:00
e1069b4a33 Fix *ParserVisitor itf being deprecated
refs #2239
2020-03-17 14:42:29 +01:00
c111c64356 Java/VmTokenManager: Remove @Deprecated/@InternalApi 2020-03-13 10:20:31 +01:00
48df56a8fa Merge branch 'master' into pmd/7.0.x 2020-03-13 10:04:51 +01:00
c2f35584ca [java] Deprecate/Internalize JavaTokenManager 2020-03-13 09:43:59 +01:00
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
16cb7767b7 Merge branch 'master' into pmd/7.0.x 2020-03-12 14:03:20 +01:00
ed3f7a4cf2 [java] Deal with missing VariableNameDeclaration for pattern matching 2020-03-08 10:42:55 +01:00
8adfacb530 [java] Fix MissingOverride with record 2020-03-08 10:42:05 +01:00
225bb8d5af [java] Deal with variable name declarations of record components 2020-03-08 10:41:44 +01:00
5f9fbf3933 [java] Fix missing declaration kind RECORD 2020-03-08 10:40:37 +01:00
b2b85e51bd Remove multifile stuff
This is the last component that depends
on JavaQualifiedName on the java-grammar
branch.
2020-03-03 01:01:10 +01:00
ea0122a656 Merge branch 'master' into 7.0.x 2020-03-02 22:26:41 +01:00
f698a2e7aa Small API improvements for records 2020-03-02 22:24:44 +01:00
f574b7929b Merge branch 'master' into 7.0.x 2020-03-02 20:46:59 +01:00
18cc6a3e4e Disallow throws clause on record constructor 2020-03-02 20:46:40 +01:00
c8c8a04dda Fix new java nodes 2020-03-02 20:31:52 +01:00
bfc704fa05 Cleanup language level checker 2020-03-02 20:06:38 +01:00
9788a3af5d Merge branch 'master' into 7.0.x 2020-03-02 19:12:28 +01:00
e880c72ed2 Merge branch 'java14' 2020-03-02 19:06:03 +01:00
e535c3edab Add comment 2020-03-02 19:05:53 +01:00
fc0b437ad7 Fix record ctor with throws 2020-03-02 19:00:59 +01:00
f49a6dbc3d [java] Add test with record implementing a interface 2020-02-29 20:00:18 +01:00
548326d2e1 [java] Make the new AST node classes final 2020-02-29 17:58:45 +01:00
564ded68c4 Merge branch 'pr-2302'
[java] Fix UselessOverridingMethod when evelating access modifier
2020-02-29 10:23:51 +01:00
30b6f14f85 Merge branch 'pr-2284'
[java] MisplacedNullCheck - fix false positive
2020-02-29 10:22:55 +01:00
f1fe8ce5e1 [java] Remove version java 12 preview
Keep the tests and move them to java 14
except for the break expression
2020-02-28 19:37:13 +01:00
eae6e96db0 [java] Add type parameters for test 2020-02-28 19:11:10 +01:00
ee211d42b1 [java] Remove unneccessary annotation parsing 2020-02-28 19:07:03 +01:00
2ace55f635 [java] Support RecordConstructorDeclaration as AnyTypeBodyDeclaration 2020-02-28 18:59:16 +01:00
7d3df99134 [java] RecordBody - test with more annotation and use deep lookahead
Record constructors are not allowed to throw exceptions.
2020-02-28 18:41:22 +01:00
0ecd1da200 [java] Get rid of RecordBodyDeclaration node 2020-02-28 18:32:33 +01:00
fa28aa7e23 [java] Test annotations with RecordComponents 2020-02-28 17:59:39 +01:00
68ba8a967d [java] Test nested record type 2020-02-28 17:41:26 +01:00
e017def280 [java] Support vararg/array in RecordComponent and empty components 2020-02-28 17:35:44 +01:00
5f43e198d5 [java] RecordConstructorDeclaration - do not use Name() 2020-02-28 17:01:57 +01:00
9917e3f422 [java] RecordComponents -> RecordComponentList 2020-02-28 16:56:43 +01:00
e2d84d6741 [java] Add grammar jdoc for new Record types 2020-02-28 16:50:57 +01:00
8a224462fd [java] Add initial support for Java 14 Preview record types 2020-02-28 14:58:52 +01:00
524925f8cb [java] Rewrite escape sequence interpreting for text blocks 2020-02-28 11:29:09 +01:00
adfb2ab129 [java] Update grammar 2020-02-28 10:51:38 +01:00
b1acb29257 [java] VariableDeclarationId of pattern bindings is implicitly final 2020-02-28 10:50:00 +01:00