In this post we are going learn about how write custom
AuthorInfoannotaion. The AuthorInfo annotation has declared with two abstract
methods
SOURCE:
AuthorInfo.java
You can also read
- Introduction to Java Annotations
- How to write custom annotation
- Writing custom Annotation with RentionPolicy
- How read annotation at runtime using Java Reflection
- How to list out annotations used in a class using Java Reflection
- How to create custom annotation with default values
- How to create Marker Annotation using java
0 comments :
Post a Comment