69ed0464a7
Merge branch 'pr-2385'
...
[java] Make yield statements more conditional #2385
Fixes #2319
2020-04-04 18:20:49 +02:00
a04964c32a
Merge branch 'pr-2392'
...
[java] Fix UseDiamondOperator false positive inside lambda #2392
2020-04-04 10:44:32 +02:00
04f0bb78b9
Merge branch 'pr-2380'
...
[java] Make TypeHelper use the class loading cache of ClassTypeResolver #2380
2020-04-03 15:41:09 +02:00
4d17358746
Fix FP with array creation
2020-03-30 16:48:42 +02:00
eb7949045f
Isolate version-sensitive tests
2020-03-30 10:23:41 +02:00
e58eb0f017
Fix UseDiamondOperator
...
Fixes #1723
2020-03-30 09:59:23 +02:00
a3cd0cf47d
Merge branch 'pr-2384' #2384
...
[java] Performance improve xpath based rules
2020-03-29 17:26:26 +02:00
e1a4b8ae97
Forbid type params for record ctors
2020-03-28 11:43:20 +01:00
7c433f8820
Remove import to reduce diff
2020-03-28 11:36:42 +01:00
b01d4dc0d7
Test
2020-03-28 11:36:42 +01:00
9e9c370a4a
Make yield more conditional
...
Refs #2319
2020-03-28 11:36:38 +01:00
485fa4ad50
Fix test case name
2020-03-28 11:06:10 +01:00
552931d965
Fix AbstractClassWithoutAnyMethods FN with inner classes
2020-03-28 11:03:40 +01:00
25ef59d5a7
[java] Performance improve xpath based rules
...
If an unbounded path expression like
//PrimaryExpression[//ClassOrInterfaceDeclaration]
is used, then this will search the whole document again.
It will also avoid using rule chain later on, see #2382
2020-03-27 18:41:05 +01:00
105e48b8e1
Fix TypeHelper array loading
2020-03-23 23:00:39 +01:00
acbecf3e65
Add tests
2020-03-23 22:05:29 +01:00
549a49790c
Doc
2020-03-23 21:44:10 +01:00
633319015b
Fix when the type is nullable
2020-03-23 21:04:34 +01:00
a2994a97d9
Fast path annotation types
2020-03-23 20:57:51 +01:00
96532f26cc
Make typeIs XPath functions use the typeres cache
2020-03-23 20:49:43 +01:00
f1a6796b78
Checkstyle
2020-03-18 22:41:01 +01:00
8fb9d2e74d
Implement for java
2020-03-17 19:57:22 +01:00
e1069b4a33
Fix *ParserVisitor itf being deprecated
...
refs #2239
2020-03-17 14:42:29 +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
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
f698a2e7aa
Small API improvements for records
2020-03-02 22:24:44 +01:00
18cc6a3e4e
Disallow throws clause on record constructor
2020-03-02 20:46:40 +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