Clément Fournier
|
f1a6796b78
|
Checkstyle
|
2020-03-18 22:41:01 +01:00 |
|
Clément Fournier
|
8fb9d2e74d
|
Implement for java
|
2020-03-17 19:57:22 +01:00 |
|
Clément Fournier
|
e1069b4a33
|
Fix *ParserVisitor itf being deprecated
refs #2239
|
2020-03-17 14:42:29 +01:00 |
|
Andreas Dangel
|
c2f35584ca
|
[java] Deprecate/Internalize JavaTokenManager
|
2020-03-13 09:43:59 +01:00 |
|
Andreas Dangel
|
4c020bfbf7
|
[maven-release-plugin] prepare for next development iteration
|
2020-03-12 15:15:18 +01:00 |
|
Andreas Dangel
|
eb93aaeca7
|
[maven-release-plugin] prepare release pmd_releases/6.22.0
|
2020-03-12 15:15:09 +01:00 |
|
Andreas Dangel
|
ed3f7a4cf2
|
[java] Deal with missing VariableNameDeclaration for pattern matching
|
2020-03-08 10:42:55 +01:00 |
|
Andreas Dangel
|
8adfacb530
|
[java] Fix MissingOverride with record
|
2020-03-08 10:42:05 +01:00 |
|
Andreas Dangel
|
225bb8d5af
|
[java] Deal with variable name declarations of record components
|
2020-03-08 10:41:44 +01:00 |
|
Andreas Dangel
|
5f9fbf3933
|
[java] Fix missing declaration kind RECORD
|
2020-03-08 10:40:37 +01:00 |
|
Clément Fournier
|
f698a2e7aa
|
Small API improvements for records
|
2020-03-02 22:24:44 +01:00 |
|
Clément Fournier
|
18cc6a3e4e
|
Disallow throws clause on record constructor
|
2020-03-02 20:46:40 +01:00 |
|
Clément Fournier
|
e880c72ed2
|
Merge branch 'java14'
|
2020-03-02 19:06:03 +01:00 |
|
Clément Fournier
|
e535c3edab
|
Add comment
|
2020-03-02 19:05:53 +01:00 |
|
Clément Fournier
|
fc0b437ad7
|
Fix record ctor with throws
|
2020-03-02 19:00:59 +01:00 |
|
Andreas Dangel
|
f49a6dbc3d
|
[java] Add test with record implementing a interface
|
2020-02-29 20:00:18 +01:00 |
|
Andreas Dangel
|
548326d2e1
|
[java] Make the new AST node classes final
|
2020-02-29 17:58:45 +01:00 |
|
Andreas Dangel
|
564ded68c4
|
Merge branch 'pr-2302'
[java] Fix UselessOverridingMethod when evelating access modifier
|
2020-02-29 10:23:51 +01:00 |
|
Andreas Dangel
|
30b6f14f85
|
Merge branch 'pr-2284'
[java] MisplacedNullCheck - fix false positive
|
2020-02-29 10:22:55 +01:00 |
|
Andreas Dangel
|
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 |
|
Andreas Dangel
|
eae6e96db0
|
[java] Add type parameters for test
|
2020-02-28 19:11:10 +01:00 |
|
Andreas Dangel
|
ee211d42b1
|
[java] Remove unneccessary annotation parsing
|
2020-02-28 19:07:03 +01:00 |
|
Andreas Dangel
|
2ace55f635
|
[java] Support RecordConstructorDeclaration as AnyTypeBodyDeclaration
|
2020-02-28 18:59:16 +01:00 |
|
Andreas Dangel
|
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 |
|
Andreas Dangel
|
0ecd1da200
|
[java] Get rid of RecordBodyDeclaration node
|
2020-02-28 18:32:33 +01:00 |
|
Andreas Dangel
|
fa28aa7e23
|
[java] Test annotations with RecordComponents
|
2020-02-28 17:59:39 +01:00 |
|
Andreas Dangel
|
68ba8a967d
|
[java] Test nested record type
|
2020-02-28 17:41:26 +01:00 |
|
Andreas Dangel
|
e017def280
|
[java] Support vararg/array in RecordComponent and empty components
|
2020-02-28 17:35:44 +01:00 |
|
Andreas Dangel
|
5f43e198d5
|
[java] RecordConstructorDeclaration - do not use Name()
|
2020-02-28 17:01:57 +01:00 |
|
Andreas Dangel
|
9917e3f422
|
[java] RecordComponents -> RecordComponentList
|
2020-02-28 16:56:43 +01:00 |
|
Andreas Dangel
|
e2d84d6741
|
[java] Add grammar jdoc for new Record types
|
2020-02-28 16:50:57 +01:00 |
|
Andreas Dangel
|
8a224462fd
|
[java] Add initial support for Java 14 Preview record types
|
2020-02-28 14:58:52 +01:00 |
|
Andreas Dangel
|
524925f8cb
|
[java] Rewrite escape sequence interpreting for text blocks
|
2020-02-28 11:29:09 +01:00 |
|
Andreas Dangel
|
adfb2ab129
|
[java] Update grammar
|
2020-02-28 10:51:38 +01:00 |
|
Andreas Dangel
|
b1acb29257
|
[java] VariableDeclarationId of pattern bindings is implicitly final
|
2020-02-28 10:50:00 +01:00 |
|
Andreas Dangel
|
09ff74ea7a
|
[java] Don't consider VariableDeclaratorIds of Pattern Bindings for now
|
2020-02-28 10:38:44 +01:00 |
|
Andreas Dangel
|
8a90c2d11d
|
[java] ASTLiteral - move the tests for text block content
Also fix determining the start of the content, when there are
multiple line terminators without indenting whitespace.
|
2020-02-28 09:43:54 +01:00 |
|
Andreas Dangel
|
9a80f13164
|
[java] Fix new escape sequence "\s" detection
|
2020-02-27 21:23:33 +01:00 |
|
Andreas Dangel
|
81bb8090cf
|
[java] Don't throw IllegalArgument if Literal is not a text block
|
2020-02-27 21:14:29 +01:00 |
|
Andreas Dangel
|
da01ed4fde
|
Fix checkstyle
|
2020-02-27 21:12:00 +01:00 |
|
Andreas Dangel
|
d16751d136
|
[java] Add support for TextBlocks in Java14
* New escape sequence "\s" added
* Added experimental ASTLiteral::getTextBlockContent to retrieve
the text block with stripped indentation
|
2020-02-27 21:11:02 +01:00 |
|
Andreas Dangel
|
9d5b7554f0
|
[java] Make sure, SwitchExpressions with yield work with java14
Add additional tests for java14, so that we can later simply remove
the java13 preview tests
|
2020-02-27 18:30:39 +01:00 |
|
Andreas Dangel
|
f3da33944b
|
[java] version 14 is now the new default
|
2020-02-27 15:15:50 +01:00 |
|
Andreas Dangel
|
3a283559b4
|
Merge remote-tracking branch 'oowekyala/jdk14-pattern-matching' into jdk14
|
2020-02-27 15:03:24 +01:00 |
|
Andreas Dangel
|
918be2a419
|
[java] UselessOverridingMethod - add another test case for synchronized
See https://sourceforge.net/p/pmd/bugs/423/
|
2020-02-24 19:55:57 +01:00 |
|
Andreas Dangel
|
c6825d6dbf
|
[java] UselessOverridingMethod: consider package-level elevation as well
|
2020-02-20 16:44:24 +01:00 |
|
Andreas Dangel
|
f0f06b8d84
|
[java] Refactor/simplify UselessOverridingMethod
|
2020-02-20 15:54:05 +01:00 |
|
Andreas Dangel
|
1a50010dfa
|
[java] UselessOverridingMethod false positive when elevating access modifier
Fixes #911
|
2020-02-20 15:15:10 +01:00 |
|
Andreas Dangel
|
174bdd6b0d
|
[java] UselessOverridingMethod - remove unnecessary CDATA in tests
|
2020-02-20 12:17:07 +01:00 |
|
Andreas Dangel
|
59e4be3648
|
Update gitignore
files generated by eclipse m2e plugin and pmd plugin
|
2020-02-20 11:29:10 +01:00 |
|