Don't generate a builder() method in abstract classes #196

Merged
jwharm merged 1 commit from no-builder-func-when-abstract into main 2025-02-08 10:38:52 +01:00
jwharm commented 2025-02-08 10:38:29 +01:00 (Migrated from github.com)

Java-GI generates an inner class Builder and a static builder() method to create one. However, for abstract classes the builder() method shouldn't be generated. The Builder class should still exist, but it can only be used from subclasses, and not created directly.

Java-GI generates an inner class `Builder` and a static `builder()` method to create one. However, for abstract classes the `builder()` method shouldn't be generated. The `Builder` class should still exist, but it can only be used from subclasses, and not created directly.
Sign in to join this conversation.
No description provided.