// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`, // then press Enter. You can now see whitespace characters in your code. publicclassMain { publicstaticvoidmain(String[] args)throws ClassNotFoundException { Class<?> aClass = Class.forName("org.example.pojo.User"); if (aClass.isAnnotationPresent(Component.class)) { Componentannotation= aClass.getAnnotation(Component.class); Stringvalue= annotation.value(); System.out.println(value); } } }