It does work. classInfo.annotations() returns list of all annotations defined in the class (both type and method). See this test resource: https://github.com/Gytis/jboss-as/blob/e58b229417d674f6ae77e73ce3461ea0c0b327bf/testsuite/integration/rts/src/test/java/org/wildfly/test/extension/rts/common/InboundBridgeResource.java