Commit Graph

527 Commits

Author SHA1 Message Date
18da883596 . 2016-03-21 16:56:05 +01:00
03e61f1684 Format source code 2016-03-21 11:58:24 +01:00
03f10491bf Added basic rule 2016-03-21 11:06:59 +01:00
7e609e074e Try to determine position of nodes 2016-03-20 12:24:21 +01:00
2d119a225d Fix test - we have actually 5 methods: 2 in source code, 3 generated by compiler 2016-03-20 12:23:57 +01:00
620c2009e1 Determine name of UserClass and Method 2016-03-20 12:23:20 +01:00
59414f9e5b Add a dump facade to print out the AST tree 2016-03-20 12:22:33 +01:00
d2b182f280 Add java as a dependency for designer - add designer profile
The designer can be started within "pmd-apex" by running

    mvn -P designer exec:java
2016-03-20 11:35:38 +01:00
1a46ef9b05 Make the one apex version the default version 2016-03-20 11:29:09 +01:00
4221e7a00a Add a version for the apex language module 2016-03-20 11:18:20 +01:00
294ae0de92 Mark UserClass as root node, so that XPath rules will work 2016-03-20 11:16:11 +01:00
efbe99b0d2 Add missing AST nodes to be able to parse the samples 2016-03-20 11:15:39 +01:00
d739f11ff4 Implement the apex visitor methods 2016-03-20 11:14:38 +01:00
27fa89a3cb Call traverse on the Apex nodes with an scope (it is required) 2016-03-20 11:14:11 +01:00
50fac3a5cf Make sure, we fail early if we can't parse the code 2016-03-20 11:11:24 +01:00
3d63f1a8bd Add two code samples 2016-03-20 11:11:07 +01:00
4df5999f6b Fix syntax error in code sample 2016-03-20 11:10:37 +01:00
4f0ed30250 Removed jars that are now managed via maven 2016-03-15 16:48:59 +01:00
ea1eca0080 Added dependency entries for each Salesforce lib 2016-03-15 15:06:34 +01:00
e9bfefbbc1 Moved test class to correct package 2016-03-15 11:29:03 +01:00
a144493516 Added minimal failing test 2016-03-15 00:46:47 +01:00
ba9c8fc1b8 Removed sample code 2016-03-14 20:43:09 +01:00
42273034c7 First simple ast node adapter 2016-03-14 16:37:12 +01:00
bb0302a6e7 Next step towards compile ;-) 2016-03-14 16:15:19 +01:00
89fcd45f75 Next step towards compile ;-) 2016-03-14 12:49:30 +01:00
9e1e5b21db Renamed cloned Ecmascript module classes and merged in Jorje libs
DOESN'T COMPILE
2016-03-12 23:58:04 +01:00
b82b641927 Added an Apex module (pmd-apex) 2016-03-11 13:30:05 +01:00