@Override
		public boolean matches(Method method) {
			return method.getAnnotation(clazz) != null;
		}
A filter that matches the method(s) that bear some annotation.
spring-xd-shell/src/test/java/org/springframework/xd/shell/util/CliAvailabilityIndicatorChecker.java