Help with Lombok
I am making utility methods for sending discord webhooks.
my goal is this:
everything works, except for the addEmbed part
my class is defined like this:
so how do i make an embed adder?
5 Replies
⌛
This post has been reserved for your question.
Hey @eren.! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Add
@Singular
To the List property
Also, you might want @Value?
Or just use records"not applicable to this field"
i added singular and now what? i dont have any new methods or anything
im new to lombok
oh i just needed to remove
= new ArrayList<>(10)
thanks anywayIf you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Post Closed
This post has been closed by <@587604022349791274>.