/** * Get the names of all annotations and meta-annotations on the given class. * * @param klass * The class. * @return The sorted list of the names of annotations and meta-annotations on the given class, or the empty * list if none. */ public List<String> getNamesOfAnnotationsOnClass(final Class<?> klass) { return getNamesOfAnnotationsOnClass(scanSpec.getClassOrInterfaceName(klass)); }