Skip to content

#692 commons lang plugin updates#695

Open
duttonw wants to merge 2 commits intohighsource:masterfrom
duttonw:692_commons-lang_plugin_updates
Open

#692 commons lang plugin updates#695
duttonw wants to merge 2 commits intohighsource:masterfrom
duttonw:692_commons-lang_plugin_updates

Conversation

@duttonw
Copy link
Copy Markdown
Contributor

@duttonw duttonw commented Apr 15, 2026

see #692 for details, needs #691 for unit testing

duttonw added 2 commits April 15, 2026 15:33
Updated documentation

Introduce equals to allow deep recursive equals checks vs by reference (default):

  -Xcommons-lang:equalsTestTransients=TRUE|FALSE (default: FALSE)
  -Xcommons-lang:equalsTestRecursive=TRUE|FALSE (default: FALSE)
Enable ability to disable parts of commons-lang to allow mixing and matching of plugins
  -Xcommons-lang:addToStringMethod=TRUE|FALSE (default: TRUE)
  -Xcommons-lang:addHashCodeMethod=TRUE|FALSE (default: TRUE)
  -Xcommons-lang:addEqualsMethod=TRUE|FALSE (default: TRUE)
Streamlined -Xcommons-lang:ToStringStyle to look prefer Static Final variables that passes regex ^[A-Z0-9_]+$ else treat it as a Class, don't error if it can't find it, since it may not be visible to the generator (But do provide warnings of such cases).

Also allow classes to be passed through even if NOT available to generator so plugin dependancies do not need to include additional jar's unless the developer wants to remove the warning.

Requres: highsource#692 for unit testing to pass.
@duttonw duttonw force-pushed the 692_commons-lang_plugin_updates branch from b35bc65 to 9d42c33 Compare April 15, 2026 07:18
@mattrpav mattrpav self-requested a review April 15, 2026 23:09
@duttonw
Copy link
Copy Markdown
Contributor Author

duttonw commented Apr 20, 2026

Hi @mattrpav , Any suggestions if this needs improvements? or would you like it split into a few pr's?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant