question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow configuring "get" and "set" prefixes.

See original GitHub issue

This is a feature request for being allowed to use getters and setters that don’t use the traditional Java Bean notation, with get and set prefixes, this way a getter with just the name of the variable would be used, this is helpful for people using AutoValue, such as in here #2344.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
cowtowncodercommented, Oct 9, 2020

This will actually be possible globally, with #2800, using DefaultAccessorNamingStrategy configured to use different prefix.

1reaction
cowtowncodercommented, Apr 2, 2020

Looks like there was already an issue #1325; but will close that, leave this open, for better visibility (newer issue sorted first).

Earlier issue suggested introduction of @JsonPOJO prefix: I guess that is one possibility, amongst others (probably needs to be a combination, maybe with “config overrides”).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Example: Allowed to prefixes in a transit gateway configuration
Direct Connect gateway association with the transit gateway: Set the allowed to prefixes to 10.0.0.0/8. This CIDR block covers both VPC CIDR blocks....
Read more >
Add "suffix" configuration option to @Setter/@Getter (like ...
Even eclipse allows to configure prefixes and suffixes for fields (see Window -> Preferences -> Java -> Code Style).
Read more >
Why are getters prefixed with the word "get"? - Stack Overflow
The best answer I have ever heard for using the get/set prefixes is as such: ... The convention there is having a Variable...
Read more >
Configuration in ASP.NET Core - Microsoft Learn
Learn how to use the Configuration API to configure AppSettings in an ASP.NET Core app.
Read more >
How to Setup LuckPerms Chat (Prefixes & Formatting)
https://server.proIn this video, we show you install and use the LuckPerms Chat plugin for Minecraft Java.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found