-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: documentationA documentation taskA documentation task
Milestone
Description
Using GeneratedMethods#add with getInstance for a given bean name generates getBeanNameInstance. The javadoc of add mentions that getInstance is the suggested name.
get, set and is are special in the suggested name. It'll be considered a prefix, followed by the qualifier and then the remaining of the suggested part. Someone using the same code with determineInstance would not get the same behavior.
Considering that the suggested name will always be qualified, it would be nice to provide a bit more control over the method name (including overriding that default behavior). Alternatively, the javadoc to document the status quo can be improved.
Metadata
Metadata
Assignees
Labels
theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: documentationA documentation taskA documentation task