Edward Klimoshenko
|
c0bef71816
|
Build parameter declarations
|
2022-11-11 20:27:14 +00:00 |
|
Aaron Hurst
|
e4a28b70fd
|
Post-merge fixup. Make new AST constructors package-private.
Change-Id: I9b40bb44474894dfa66ef3ee542a2602a9a084ea
|
2022-10-17 03:36:37 +00:00 |
|
Edward Klimoshenko
|
a57fd96982
|
Build continue statements
|
2022-10-17 03:36:15 +00:00 |
|
Edward Klimoshenko
|
04732d86d6
|
Build break statements
|
2022-10-17 03:36:15 +00:00 |
|
Edward Klimoshenko
|
3acd9aadfb
|
Build try statements
|
2022-10-17 03:36:15 +00:00 |
|
Edward Klimoshenko
|
298b99815c
|
Build throw statements
|
2022-10-17 03:36:15 +00:00 |
|
Edward Klimoshenko
|
91ac513015
|
Build runAs statements
|
2022-10-17 03:36:14 +00:00 |
|
Edward Klimoshenko
|
d0395462e1
|
Build return statements
|
2022-10-17 03:36:14 +00:00 |
|
Edward Klimoshenko
|
cf054a1427
|
Build switch statements
|
2022-10-17 03:36:14 +00:00 |
|
Edward Klimoshenko
|
75690c383b
|
Build for loops
Change-Id: If1bbe27701e190321f53f19be384be10d2885ec5
|
2022-10-17 03:36:13 +00:00 |
|
Edward Klimoshenko
|
de2bc8083a
|
Build while loops
|
2022-10-17 03:35:47 +00:00 |
|
Edward Klimoshenko
|
6e5fe57a10
|
Build do-while loops
|
2022-10-17 03:35:47 +00:00 |
|
Edward Klimoshenko
|
3321997e08
|
Build for-each loops
Change-Id: Ica6c9ad3f0da89b4522dbae6f2cc5d80399ea72a
|
2022-10-17 03:35:47 +00:00 |
|
Edward Klimoshenko
|
f813961ec5
|
Build variable declarations
|
2022-10-17 03:35:47 +00:00 |
|
Edward Klimoshenko
|
bd8e47edd1
|
Build if statements
Change-Id: I4db2d2dfd028ae820c73f9fcb5fff4fa5e6c3ece
|
2022-10-17 03:35:47 +00:00 |
|
Aaron Hurst
|
72bb311aba
|
Make AST node constructors package-private.
Change-Id: Iafdf7b08b0f8f456b981c797209735a1c27e0b33
|
2022-10-17 03:35:44 +00:00 |
|
Aaron Hurst
|
96d10a9d8d
|
Post-merge fixups.
Make AST node constructors package-private.
Cleanup imports.
|
2022-10-17 03:33:07 +00:00 |
|
Edward Klimoshenko
|
c9cd6e3597
|
Fix buildMapEntry
|
2022-10-17 03:23:19 +00:00 |
|
Edward Klimoshenko
|
543a1117cd
|
Build sized array initializers
|
2022-10-17 03:23:19 +00:00 |
|
Edward Klimoshenko
|
3b609c5450
|
Build map initializers
|
2022-10-17 03:23:18 +00:00 |
|
Edward Klimoshenko
|
34d540f952
|
Build values initializers
|
2022-10-17 03:23:18 +00:00 |
|
Edward Klimoshenko
|
989ea03748
|
Build constructor initializers
Change-Id: I6c4bc34a85e80302da8ef4043a65b7cbec426ee1
|
2022-10-17 03:23:18 +00:00 |
|
Aaron Hurst
|
f2d0aa4a82
|
Cleanup import statements.
Change-Id: I715bc3729d7c631993cfcfb6c6f503b959ce4340
|
2022-10-17 03:22:29 +00:00 |
|
Aaron Hurst
|
f7a6fc1442
|
Code review feedback:
* Removed Kotlin compiler version in submodule pom.xml
* Package-private AST node constructors
* Constructor method naming for getImage and getCanonicalName
Change-Id: I4b2cd2ca0437c480e5fc52cf3147be7a2336f6f7
|
2022-10-16 17:08:33 +00:00 |
|
Aaron Hurst
|
971e8a2757
|
Post-merge fixups.
Update summit-ast dependency to latest release.
Change-Id: I14cb01fe198c6fc78dcd90b1f23c44e42c573bba
|
2022-10-11 17:43:07 +00:00 |
|
Aaron Hurst
|
776a1ad8b3
|
Merge remote-tracking branch 'eklimo/summit' into experimental-apex-parser
Change-Id: If0e9011847b2fa515faaacc631c0876ac0683d2a
|
2022-10-11 16:55:05 +00:00 |
|
Andreas Dangel
|
6ee361940a
|
Merge branch 'master' into experimental-apex-parser
|
2022-10-06 09:37:48 +02:00 |
|
Andreas Dangel
|
13d9a9457f
|
[maven-release-plugin] prepare for next development iteration
|
2022-09-30 15:39:14 +02:00 |
|
Andreas Dangel
|
37f6d8254c
|
[maven-release-plugin] prepare release pmd_releases/6.50.0
|
2022-09-30 15:39:08 +02:00 |
|
Aaron Hurst
|
ba9d48f891
|
Merge remote-tracking branch 'upstream/experimental-apex-parser' into part-1
Change-Id: I254208dd5d1b9dbf5335a59a51372ec1d55f8535
|
2022-09-13 23:42:11 +00:00 |
|
Edward Klimoshenko
|
a5f91348c8
|
Build expressions (#8)
* Build expression statements
** Build assignment expressions
** Build array expressions
** Build literal expressions
** Build cast expressions
** Build operator expressions
** Build `this`/`super` expressions
** Build type reference expressions
** Build field/variable expressions
** Build method call expressions
* Build ternary expressions
* Refactor `AbstractApexNode`
** Add default implementations for some methods
** Add empty constructor
** Implement `AbstractApexNode.getDefiningType`
* Fix `ASTLiteralExpression.getImage`
* Implement reference types
** Implement `ASTReferenceExpression.isSObjectType`
** Implement `ASTReferenceExpression.hasRealLoc`
** Fix `ASTEmptyReferenceExpression.getDefiningType`
* Implement `ASTMethodCallExpression.getFullMethodName`
* Update `ASTLiteralExpression.getImage`
* Replace `Triple` with `data class`
* Fix `BITWISE_XOR`
* Replace `Identifier.asCodeString` with `getString`
* Fix call expressions
** Only the `receiver` of `CallExpression`s should be flattened
* Fix `referenceTypeOf`
Reference type should only be `STORE` when the variable is the target of
assignment.
* Rename `ASTMethodCallExpression.components`
|
2022-08-31 13:09:24 -07:00 |
|
Andreas Dangel
|
90663d746b
|
[maven-release-plugin] prepare for next development iteration
|
2022-08-31 19:19:27 +02:00 |
|
Andreas Dangel
|
4b4ebabc2d
|
[maven-release-plugin] prepare release pmd_releases/6.49.0
|
2022-08-31 19:19:22 +02:00 |
|
Andreas Dangel
|
7c6277c8b8
|
[apex] Update tests (ApexUnitTestClassShouldHaveAsserts, ApexAssertionsShouldIncludeMessage) #4097
|
2022-08-29 19:05:40 +02:00 |
|
Thomas Prouvot
|
29c4e996fb
|
Increase test coverage
|
2022-08-25 16:54:11 +02:00 |
|
Thomas Prouvot
|
d73cdcc193
|
Ad new tests for Assert method class
|
2022-08-25 15:44:37 +02:00 |
|
Thomas Prouvot
|
065b4b8083
|
Remove param message not mandatory in this test
|
2022-08-25 15:44:18 +02:00 |
|
Thomas Prouvot
|
ac94df9e17
|
Update add violation parameters to macth with new tests
|
2022-08-25 15:34:54 +02:00 |
|
Thomas Prouvot
|
d6194be47b
|
Add tests for new methods
|
2022-08-25 15:31:13 +02:00 |
|
Thomas Prouvot
|
46aa491c45
|
Merge branch 'feature/addNewClassForAssertion' of https://github.com/tprouvot/pmd into feature/addNewClassForAssertion
|
2022-08-25 15:14:18 +02:00 |
|
tprouvot
|
d7cf959ad2
|
Merge branch 'pmd:master' into feature/addNewClassForAssertion
|
2022-08-25 12:27:18 +02:00 |
|
Thomas Prouvot
|
c61108c752
|
Add new Assert methods to ApexAssertionsShouldIncludeMessageRule
|
2022-08-25 12:18:15 +02:00 |
|
Thomas Prouvot
|
2e9f25c8ba
|
PR review comment
|
2022-08-25 12:17:51 +02:00 |
|
Thomas Prouvot
|
50641a5c97
|
Fix typo
|
2022-08-25 12:17:32 +02:00 |
|
tprouvot
|
d5098ca115
|
Update pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/bestpractices/xml/ApexUnitTestClassShouldHaveAsserts.xml
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
|
2022-08-25 12:15:30 +02:00 |
|
tprouvot
|
e0b9965c27
|
Update pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveAssertsRule.java
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
|
2022-08-25 10:46:47 +02:00 |
|
Andreas Dangel
|
d41628c1c6
|
Merge pull request #4092 from aaronhurst-google:enum-qualified-names
[apex] Implement ApexQualifiableNode for ASTUserEnum #4092
|
2022-08-24 18:01:33 +02:00 |
|
Andreas Dangel
|
f83a1a092c
|
[doc] Add deprecation infos
|
2022-08-24 17:55:04 +02:00 |
|
Andreas Dangel
|
b9eec549fa
|
Merge branch 'master' into pr-4081
|
2022-08-24 17:43:09 +02:00 |
|
Thomas Prouvot
|
dc03e52be3
|
Update method name and number of parameters (PR Comment)
|
2022-08-18 16:34:46 +02:00 |
|