Created
October 28, 2020 06:50
-
-
Save Ikhiloya/5edcc3a02b1832b9bed8e216837bf957 to your computer and use it in GitHub Desktop.
Get custom annotation from Invocation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (invocation != null) { | |
val annotation: Cacheable? = | |
invocation.method().getAnnotation(Cacheable::class.java) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment