You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Claude Warren (Jira)" <ji...@apache.org> on 2025/11/09 15:25:00 UTC

[jira] [Created] (RAT-520) MatcherBuilderTracker does not handle annotated classes correctly

Claude Warren created RAT-520:
---------------------------------

             Summary: MatcherBuilderTracker does not handle annotated classes correctly
                 Key: RAT-520
                 URL: https://issues.apache.org/jira/browse/RAT-520
             Project: Apache RAT
          Issue Type: Bug
          Components: configuration
    Affects Versions: 0.17
            Reporter: Claude Warren


The MatcherBuilderTracker does not utilize the DescriptionBuilder framework to discover the correct name for the Matcher that is being built.  Instead it depended on the Builder for X being having a class XBuilder.

The system should make the following calls.

 
Class<?> builtClass = DescriptionBuilder.getBuiltClass(builderClass);
Description description = DescriptionBuilder.buildMap(builtClass);
 
And then if the description is populated use the name from that.
If not it should fall back to the X created by XBuilder class naming pattern.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)