Andreas Dangel
|
4f78b14803
|
Update apex quickstart ruleset
|
2020-03-02 20:26:41 +01:00 |
|
Andreas Dangel
|
94e28557db
|
Merge branch 'pr-2317'
[apex] New Rule - Test Methods Must Be In Test Classes
|
2020-03-02 20:18:25 +01:00 |
|
Andreas Dangel
|
b50f4f48d8
|
[doc] Update release notes, fixes #639, refs #2317
|
2020-03-02 20:17:33 +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 |
|
Brian Nørremark
|
4f318380ec
|
[apex] New Rule - Test Methods Must Be In Test Classes
|
2020-02-29 20:23:03 +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
|
90f286a4a1
|
Merge branch 'pr-2280'
[cs] CPD: Replace C# tokenizer by an Antlr-based one
|
2020-02-29 11:36:14 +01:00 |
|
Andreas Dangel
|
b65a6a52ea
|
[doc] Update release notes, fixes #2139, refs #2280.
|
2020-02-29 11:34:50 +01:00 |
|
Andreas Dangel
|
1298dd13e9
|
Merge branch 'pr-2307'
[apex] Add support for SwitchStatement
|
2020-02-29 10:25:06 +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
|
0bcfda5619
|
[doc] Update release notes: Java 14 Support
Fixes #2159
|
2020-02-28 19:48:00 +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
|
01db024df7
|
Update asm to 7.3.1
This add support for java 14 and java 15
|
2020-02-27 21:29:21 +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 |
|
Maikel Steneker
|
4bd5a159e5
|
Rewrite to avoid Guava dependency.
|
2020-02-27 11:36:28 +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
|
36d6439270
|
[apex] Make the new ast nodes final
|
2020-02-22 15:38:30 +01:00 |
|
Andreas Dangel
|
4c7b48c8e9
|
[apex] Expose type and name of TypeWhenBlock
|
2020-02-22 15:21:44 +01:00 |
|
Andreas Dangel
|
c090bfbd8b
|
[apex] Add parser support for EmptyReferenceExpression
|
2020-02-22 15:02:48 +01:00 |
|
Andreas Dangel
|
00c2d5cc6b
|
[apex] Add parser support for Switch Statements
Fixes #2306
|
2020-02-22 14:54:28 +01:00 |
|
Andreas Dangel
|
d21e2565ae
|
[doc] Fix jdoc links in release notes
|
2020-02-22 12:27:46 +01:00 |
|
Andreas Dangel
|
827cdfd053
|
[apex] Fix test code using apex strings
|
2020-02-22 12:23:24 +01:00 |
|
Andreas Dangel
|
96f9efcb8e
|
[apex] Update quickstart ruleset - add commented cognitive complexity rule
|
2020-02-22 12:10:24 +01:00 |
|