1992 Commits

Author SHA1 Message Date
Andreas Dangel
ffb92231fe Merge branch 'master' into pr-4562 2024-03-14 20:13:52 +01:00
Andreas Dangel
576c83fa83 [apex] Bump apex-link from 2.3.5 to 2.3.7 2024-03-14 18:06:14 +01:00
Andreas Dangel
0fc4dceda7 [apex] Bump summit-ast from 2.1.1 to 2.2.0 2024-03-14 18:04:46 +01:00
Andreas Dangel
89f6ca6bd7 Merge branch 'master' into issue-4828-apex-null-coalescing 2024-03-14 18:02:33 +01:00
Andreas Dangel
ec0bfd1c4c Fix more javadoc errors
These worked with Java 21, but not with Java 11.
2024-03-08 08:53:02 +01:00
Andreas Dangel
92fd84fc38 Remove duplicated dependency of guava 2024-03-07 11:47:06 +01:00
Andreas Dangel
dffc44ecde Merge branch 'master' into cleanup-todos 2024-03-05 18:53:49 +01:00
Andreas Dangel
b64489a515 Merge branch 'master' into issue-4830-consolidate-packages 2024-03-04 19:21:16 +01:00
Andreas Dangel
cc3da7b21e Fix kotlin compiler warnings 2024-03-01 16:55:01 +01:00
Andreas Dangel
55a0988e19 [apex] Remove AntlrVersionCheckSuppression
This is not needed anymore with the new Summit AST
which uses the updated apex-parser

Fixes #4845
2024-03-01 14:21:43 +01:00
Andreas Dangel
51be813cd7 [apex] Support Apex 60, Null Coalescing operator
Fixes #4828
2024-03-01 13:36:42 +01:00
Andreas Dangel
a96b6016af [apex] Verify ApexDoc with annotated classes
Fixes #4774
2024-03-01 12:47:15 +01:00
Andreas Dangel
ab0d740d81 Cleanup some TODOs 2024-03-01 12:07:48 +01:00
Andreas Dangel
53323de951 [apex] MethodNamingConventions: Remove prop skipTestMethodUnderscores
This property was deprecated since PMD 6.15.0.
2024-02-26 19:25:56 +01:00
Andreas Dangel
414c119be1 [apex] Move metrics tests into internal package 2024-02-23 17:46:29 +01:00
Andreas Dangel
845154716c [test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst 2024-02-23 17:46:29 +01:00
Andreas Dangel
3a7460de29 [lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
7069e6146c Simplify kotlin compiler configuration 2024-02-23 10:50:58 +01:00
Andreas Dangel
e6c9d71f7b [apex] Fix compile errors after merge 2024-02-22 18:45:50 +01:00
Andreas Dangel
3a7b570df0 Merge branch 'master' into experimental-apex-parser 2024-02-22 18:38:17 +01:00
Andreas Dangel
9e71e36ab1 Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
Andreas Dangel
59537fb15c Merge branch 'master' into experimental-apex-parser 2024-02-13 20:12:39 +01:00
Andreas Dangel
a4280011a3 [apex] Remove now unneeded dependency to antlr 3 2024-02-13 19:09:36 +01:00
Andreas Dangel
f12beff7c9 [apex] Decimal LiteralExpression - add TODO
Refs https://github.com/google/summit-ast/pull/47
2024-02-13 18:46:24 +01:00
Andreas Dangel
204232c238 [apex] Remove ASTBridgeMethodCreator
Update release notes/migration guide
2024-02-13 18:43:09 +01:00
Andreas Dangel
f57a072e5c [apex] Normalize bound vars in SOQL 2024-02-13 18:42:24 +01:00
Andreas Dangel
526d9684c5 [apex] Remove namespace implementations
Fixes TODO(b/243905954)
2024-02-12 20:17:53 +01:00
Andreas Dangel
e811b9ceb3 [apex] DefiningType for ASTApexFile 2024-02-12 20:17:53 +01:00
Andreas Dangel
0a557dfcf8 [apex] AbstractApexNode - calculateTextRegion for many nodes as union 2024-02-12 20:17:53 +01:00
Andreas Dangel
e8e19a294f [apex] Fix RealLoc of ASTModifierNode and ASTField 2024-02-12 20:17:52 +01:00
Andreas Dangel
95d0cf4733 [apex] ApexXPathRuleTest - remove old test
This was testing a deprecated XPath attribute,
but that attribute was already removed.
2024-02-12 20:17:52 +01:00
Andreas Dangel
cf67ebf4a5 [apex] ApexLexerTest - reenable and finish
Fixes TODO(b/239648780)
2024-02-12 20:17:41 +01:00
Andreas Dangel
50514b3736 [apex] ApexParser - init logging 2024-02-12 17:37:55 +01:00
Andreas Dangel
f5979b5bfb [apex] ASTSoqlExpression - provide simple canonical query 2024-02-11 16:35:12 +01:00
Andreas Dangel
19907a74d9 [apex] Finish ASTReferenceExpression
- removed method getContext() - always returned null
  Fixes TODO(b/243906211)
- Verify that getReferenceType() returns the correct values
  Fixes TODO(b/239648780)
2024-02-10 21:01:52 +01:00
Andreas Dangel
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
Andreas Dangel
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00
Andreas Dangel
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
Andreas Dangel
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
Andreas Dangel
2a3128fb86 Merge pull request #4799 from adangel:issue-3917-rule-package
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
Andreas Dangel
ef165acebe [apex] ApexNode - fix javadoc 2024-02-09 12:16:52 +01:00
Andreas Dangel
e0eb36b195 [apex] FieldDeclarationsShouldBeAtStartRule - remove STATIC_INITIALIZER_METHOD_NAME 2024-02-09 12:16:38 +01:00
Andreas Dangel
f6bf245914 [apex] AbstractApexNode - hide literalToString and caseNormalizedTypeIfPrimitive
These are helper methods to be used only inside the ast package.
2024-02-09 12:10:17 +01:00
Andreas Dangel
31a79ef671 [apex] Remove TestQueryValidators - was only needed for Jorje 2024-02-09 12:03:16 +01:00
Andreas Dangel
b9f2ca7432 [apex] ASTMethod - remove #isSynthetic
- keep CONSTRUCTOR_ID and STATIC_INIT_ID private
- update migration documentation
2024-02-09 12:02:35 +01:00
Andreas Dangel
bf008596bf [apex] ASTLiteralExpression - add workaround for decimal 2024-02-09 11:11:28 +01:00
Andreas Dangel
5964add71f [apex] ASTFieldDeclarationStatements - clarify #getTypeArguments
Also simplify ApexCRUDViolationRule

Fixes TODO(b/239648780)
2024-02-09 10:49:00 +01:00
Andreas Dangel
6c4f3efbc7 [apex] ASTBlockStatement - verify curlyBrace 2024-02-09 09:50:24 +01:00
Andreas Dangel
17848c484d Merge branch 'master' into experimental-apex-parser 2024-02-09 09:29:16 +01:00
Andreas Dangel
0d40878b0a Promote experimental APIs as stable
- HTML support and Kotlin support no more experimental
- The only left over experimental APIs are java preview features
2024-02-09 08:46:48 +01:00