keplerk
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
There is no proper solution so, i'll close this post, i'll go for the one i wanted to avoid the most explained on the edit on my original post.
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
Inside it i have access to the class, so no application context necessary
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
Is not that complicated, due all the logic being inside an aspect with aop
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
Looks like there is no other option but hardcode the method name as an attribute of the annotation
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
Yeah but my need is for the Method where the annotation is executing at that moment
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
I've squeezed my brain, and the only solution i can think about it's basically what i don't want to do
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
So is not a single usage
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
:Sad:
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
The problem is that the custom annotation will be used across all methods with a requestmapping on it
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
Yeah, but the point is that i want to avoid having to use the method name in a "hardcoded" way, i have it working that way right now, but my goal is to make it work in a "dynamic" way.
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
I've tried several options, so as a last resort i posted my question here
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 10/2/2024 in #java-help
Get method name within an annotation dinamically
The problem is that there are several methods in that class, i've even tried with getEnclosingMethod
32 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 6/24/2024 in #java-help
Recommendation to store permissions
This is exactly what i need !!! and indeed it's more convenient that just having an integer and trying to add or subtract to validate a permission and due only needing to validate read, write and delete this is the perfect solution!
8 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 5/17/2023 in #java-help
Generic List setter ?
10 replies
JCHJava Community | Help. Code. Learn.
•Created by keplerk on 5/17/2023 in #java-help
Generic List setter ?
That's what i feared :Sad: oh well, it worth the try, thanks
10 replies