Skip to content

[java] Make type resolution not lazy#3891

Merged
adangel merged 3 commits into
pmd:pmd/7.0.xfrom
oowekyala:force-type-resolution
Apr 13, 2022
Merged

[java] Make type resolution not lazy#3891
adangel merged 3 commits into
pmd:pmd/7.0.xfrom
oowekyala:force-type-resolution

Conversation

@oowekyala

Copy link
Copy Markdown
Member

This allows us to do better error reporting than if typeres is done lazily in rules. Type resolution is very fast once classes are loaded so I don't expect this to be a problem

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@oowekyala oowekyala added this to the 7.0.0 milestone Apr 1, 2022
@oowekyala oowekyala mentioned this pull request Apr 3, 2022
4 tasks
@ghost

ghost commented Apr 3, 2022

Copy link
Copy Markdown
2 Messages
📖 Compared to pmd/7.0.x:
This changeset changes 19 violations,
introduces 19 new violations, 0 new errors and 0 new configuration errors,
removes 26 violations, 5 errors and 0 configuration errors.
Full report
📖 Compared to master:
This changeset changes 56920 violations,
introduces 34984 new violations, 2 new errors and 0 new configuration errors,
removes 139311 violations, 25 errors and 6 configuration errors.
Full report

Generated by 🚫 Danger

@oowekyala oowekyala mentioned this pull request Apr 11, 2022
55 tasks
@adangel adangel changed the title [java] make type resolution not lazy [java] Make type resolution not lazy Apr 13, 2022
@adangel adangel merged commit 7cf97d6 into pmd:pmd/7.0.x Apr 13, 2022
@oowekyala oowekyala deleted the force-type-resolution branch April 13, 2022 08:37
@adangel adangel added the in:type-resolution Affects the type resolution code label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:type-resolution Affects the type resolution code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants