Home » Tip Bank » Java
  • Comment on this Article
Language: Java
Expertise: Intermediate
Nov 12, 2019

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Watch

Inspect Class Annotations

Class annotations can be inspected via reflection as follows:

Class clazz = Foo.class;
Annotation[] clazzAnnotations = clazz.getAnnotations();
Octavia Anghel
 
Submit a Tip
Browse "Java" Tips
Browse All Tips
w3schools.com
activatejavascript.org