[
https://issues.apache.org/jira/browse/CAUSEWAY-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved CAUSEWAY-3571.
----------------------------------
Resolution: Resolved
* Introduce wrapper for java.lang.reflect.Method: ResolvedMethod
* Introduce wrapper for java.lang.reflect.Constructor: ResolvedConstructor
* refactor ClassCache to catalog ResolvedMethods and ResolvedConstructor s
instead of their raw counterparts
* allow generic bounded methods to enter the ClassCache and hence be picked up
by meta-model introspection
* make it ClassCache's responsibility to remove overwritten methods
> Support for generic type bounded methods that are not explicitly declared.
> --------------------------------------------------------------------------
>
> Key: CAUSEWAY-3571
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3571
> Project: Causeway
> Issue Type: Improvement
> Components: Core
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC3
>
> Attachments: image-2023-09-12-12-11-42-553.png,
> image-2023-09-12-12-12-18-332.png, image-2023-09-12-12-13-26-793.png
>
>
> this has been introduced somewhere between 20230826 and 20230912.
> for example:
> !image-2023-09-12-12-11-42-553.png!
> and
> !image-2023-09-12-12-12-18-332.png!
> resulting in validation errors:
>
> // [1]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices0Act():
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [2]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy):
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [3]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy):
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [4]
> org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default0Act():
> is public, but orphaned (was not picked up by the framework); reporting
> orphans, because the class is setup for member introspection, without
> enforcing annotations
> // [5] Mixin
> org.estatio.module.asset.dom.classification.ClassificationForProperty$_classify
> could not be identified as action, property or collection.
> the workaround is to add a redundant override:
> !image-2023-09-12-12-13-26-793.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)