private static List<Method> __invoke(Class<?> clazz, Index index, Comparator<Method> comparator) throws NoSuchMethodException { ArrayList methods = new ArrayList(); ClassInfo clazzInfo = index.getClassByName(DotName.createSimple(clazz.getName())); for (MethodInfo method : clazzInfo.methods()) { if (method.hasAnnotation(IndexFactory.SUBRESOURCE_META)) { methods.add(clazz.getMethod(method.name())); } } if (clazzInfo.superName() != null && clazz.getSuperclass() != java.lang.Object.class) { index = IndexFactory.createIndex(clazz.getSuperclass()); return __invoke(clazz.getSuperclass(), index, comparator); } Collections.sort(methods, comparator); return methods; }
private static List<Method> __invoke(Class<?> clazz, Index index, Comparator<Method> comparator) throws NoSuchMethodException { ArrayList methods = new ArrayList(); ClassInfo clazzInfo = index.getClassByName(DotName.createSimple(clazz.getName())); for (MethodInfo method : clazzInfo.methods()) { if (method.hasAnnotation(IndexFactory.SUBRESOURCE_META)) { methods.add(clazz.getMethod(method.name())); } } if (clazzInfo.superName() != null && clazz.getSuperclass() != java.lang.Object.class) { index = IndexFactory.createIndex(clazz.getSuperclass()); return __invoke(clazz.getSuperclass(), index, comparator); } Collections.sort(methods, comparator); return methods; }
if (method.hasAnnotation(IndexFactory.BINDING_META)) {
if (method.hasAnnotation(IndexFactory.BINDING_META)) {
for (MethodInfo method : clazz.methods()) { if (method.hasAnnotation(IndexFactory.BINDING_META)) {
for (MethodInfo method : clazz.methods()) { if (method.hasAnnotation(IndexFactory.BINDING_META)) {
if (methodInfo.hasAnnotation(HEALTH) || methodInfo.hasAnnotation(MP_HEALTH)) { StringBuilder sb = new StringBuilder(); boolean isSecure = false; if (methodInfo.hasAnnotation(PATH)) {
if (methodInfo.hasAnnotation(HEALTH)) { StringBuilder sb = new StringBuilder(); boolean isSecure = false; if (methodInfo.hasAnnotation(PATH)) {
if (method.hasAnnotation(IndexFactory.BINDING_META)) {
if (method.hasAnnotation(IndexFactory.BINDING_META)) {
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (method.hasAnnotation(requiredAnnotationName)) { return true;
if (each.hasAnnotation(defaultAnno)) { if (!each.parameters().isEmpty()) { throw new RuntimeException("Method marked @Default must require zero parameters");