uschindler commented on PR #13329:
URL: https://github.com/apache/lucene/pull/13329#issuecomment-2084935782

   I am working on a solution, but also the enum ctors are not even marked as 
"mandated" elements.
   
   My idea was to replace the whole method (also for the enums by this:
   
   ```java
     private boolean isSyntheticEnumMethod(Element element) {
       if (elementUtils.getOrigin(element) != Origin.EXPLICIT) {
         System.err.println(element.getSimpleName().toString());
         return true;
       }
       return false;
     }
   ```
   
   But the `println` only lists default constructors, which is bad. So I have 
no idea how to detect those methods.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to