Java Custom Annotation And Dynamic Loading March 09, 2024 Post a Comment I'm trying to develop ORM for database synchronisation and decided to give Java reflection a go. I have a library that defines Synchronised annotation like this @Retention(RetentioSolution 1: Get just annotation that you are interested in:Annotation<Synchronised> annotation = entryClass.getAnnotation(Synchronised.class); CopyUpdate:The problem is that DexFile.getClass() apparently returns a proxy. OP has found the anser and updated the question with a solution. Share Post a Comment for "Java Custom Annotation And Dynamic Loading"
Post a Comment for "Java Custom Annotation And Dynamic Loading"