Commit Graph
803 Commits
Author SHA1 Message Date
oowekyala 455e42bf3b Merge branch 'master' of https://github.com/pmd/pmd into metrics-prework 2017-05-31 11:38:41 +02:00
oowekyala 0aff989862 Checkstyle fix 2017-05-30 15:36:39 +02:00
oowekyala 9ee19ac7ac Remove ALL fields in enums 2017-05-30 15:29:25 +02:00
oowekyala c543cef8b1 Big refactor of qname
The creation methods now mostly take the node to describe as parameter. That way, the implementation of the class is less exposed, the creation methods can be overloaded and simplified in the AST nodes' classes.

Only nested class do not do that. That is to keep the recursive call to getQualifiedName which would be much more complicated if it was called from QualifiedName rather than the AST node.
2017-05-30 15:15:10 +02:00
oowekyala 02bac9ab71 Moved QualifiedName into standalone class 2017-05-30 13:34:48 +02:00
Juan Martín Sotuyo Dodero 7ef9b93b90 Add method reference test case 2017-05-26 14:24:24 -03:00
oowekyala e1f02acf87 Checkstyle fix 2017-05-26 17:56:09 +02:00
oowekyala 6fbcb431fc Checkstyle fixes 2017-05-26 17:45:21 +02:00
oowekyala 0847f24068 Fix capabilities nonsense 2017-05-26 15:13:03 +02:00
oowekyala 5b918ba53d Revert "Canonical type of arguments in method Qname" until TypeRes is ok 2017-05-26 14:59:46 +02:00
oowekyala b09cde6d03 Canonical type of arguments in method Qname\n That doesn't work for now because of Typeres. Be sure to edit the tests 2017-05-26 14:56:49 +02:00
oowekyala 909bb60043 Inlined canonical separators for qualified names 2017-05-26 14:45:17 +02:00
oowekyala 1673e8306a Use Qname for memoized result retrieval 2017-05-26 14:25:00 +02:00
Dennie ReniersandGitHub 43c13b4c8c Merge branch 'master' into PR18700 2017-05-26 10:26:19 +02:00
oowekyala a6185327b5 Qualified names memoization 2017-05-25 20:08:43 +02:00
oowekyala 5f426f90b7 Removed probably useless methods from QualifiedName 2017-05-23 22:10:44 +02:00
oowekyala def31ec49c Documentation 2017-05-23 22:09:28 +02:00
oowekyala 5b622e6cf5 hashCode and equals for Signatures 2017-05-23 21:36:04 +02:00
oowekyala f83ee39c65 Visitor with classContext 2017-05-23 21:25:31 +02:00
oowekyala c35e513598 Static building method for FieldSignature 2017-05-23 21:24:52 +02:00
oowekyala a50a1b5795 Revert "FieldDeclaration implements QualifiableNode"
This reverts commit ded6dc670b.
2017-05-23 21:20:05 +02:00
oowekyala ded6dc670b FieldDeclaration implements QualifiableNode 2017-05-23 21:18:20 +02:00
oowekyala a99f0c276d Added modification methods for ClassStats 2017-05-23 20:49:00 +02:00
oowekyala e4392fc751 createIfNotFound for PackageStats methods 2017-05-23 20:29:54 +02:00
oowekyala 5607456f2f Simplified existing metrics 2017-05-23 17:59:22 +02:00
oowekyala ab14dbb47c Added LOC metric 2017-05-23 17:55:38 +02:00
oowekyala 167d5ec63c MethodOrConstructorDeclaration extends Node 2017-05-23 17:51:15 +02:00
oowekyala a6f41f1bff Minor doc changes 2017-05-23 17:41:25 +02:00
oowekyala 3ad3df3a70 Implemented some navigation and modification methods on PackageStats 2017-05-23 17:29:03 +02:00
oowekyala 583e350da0 Finished visitor facade 2017-05-23 17:28:16 +02:00
oowekyala 44a4aecf85 Added utility methods for qualified names 2017-05-23 16:56:04 +02:00
oowekyala 4891592a57 Merge branch 'metrics-prework' of https://github.com/oowekyala/pmd into metrics-prework 2017-05-23 16:14:58 +02:00
oowekyala 8c0863a070 Added test for QualifiedName 2017-05-23 16:08:47 +02:00
oowekyala 996a08fbd6 Created QualifiedName class 2017-05-23 14:56:05 +02:00
dreniers 4f826d2e08 Fix for PR 18700: False positive Design8 (lambda expression containing function call).
Fixed it by having ASTLambdaExpression.isFindBoundary() return true, analogous to ASTClassOrInterfaceBodyDeclaration.isFindBoundary().
2017-05-23 09:54:39 +02:00
oowekyala c013f11ad0 Implemented qualified names 2017-05-22 22:59:12 +02:00
oowekyala ed736dabb5 Implemented qualified names 2017-05-22 22:33:33 +02:00
oowekyala c767953ff5 Solve dependency problem to pmd-core 2017-05-22 20:27:29 +02:00
oowekyala a97997bb1e Checkstyle fixes 2017-05-22 20:19:42 +02:00
oowekyala a8cb6eced7 Resolve merge conflicts with prework 2017-05-22 19:55:55 +02:00
oowekyala 42e0a9f8e8 Added the visitor 2017-05-22 19:50:41 +02:00
oowekyala ea2523489a Checkstyle fixes 2017-05-22 19:27:36 +02:00
oowekyala 0be4a2c09a SourceCodeProcessor should now start MetricsVisitorFacade 2017-05-22 18:53:40 +02:00
oowekyala 52a7707681 Added umbrella interface for Constructor and Methods 2017-05-21 20:47:20 +02:00
oowekyala 9ec2388bb3 Merge branch 'master' of https://github.com/oowekyala/pmd into metrics-prework 2017-05-21 14:59:21 +02:00
Andreas Dangel 1e64c0d864 [maven-release-plugin] prepare for next development iteration 2017-05-20 22:35:55 +02:00
Andreas Dangel 9b70c1a0d1 [maven-release-plugin] prepare release pmd_releases/5.7.0 2017-05-20 22:35:46 +02:00
Andreas Dangel 0434f9bd22 Fix javadoc 2017-05-20 21:51:31 +02:00
Andreas Dangel 4e72eef495 [java] Parser Error for empty statements
Fixes #378
2017-05-20 21:28:39 +02:00
Andreas Dangel 92d2e68396 Merge branch 'master' of https://github.com/fsherstobitov/pmd into issue-358 2017-05-20 20:54:06 +02:00