forked from SteamWar/SteamWar
Fix MapperHandler, SupplierHandler, ValidatorHandler
Improve HandlerForVariableElement.getAnnotations() Improve HandlerForTypeMirror.isEnum Add HandlerForTypeMirror.getTypeName
This commit is contained in:
@@ -185,7 +185,7 @@ public abstract class AbstractCommand<T> {
|
||||
handlerMap.get(runPriority).forEach((dataMethodAnnotationTriple, handlerMethods) -> {
|
||||
handlerMethods.forEach(annotationHandlerMethod -> {
|
||||
try {
|
||||
annotationHandlerMethod.check(dataMethodAnnotationTriple.c, dataMethodAnnotationTriple.b, dataMethodAnnotationTriple.a);
|
||||
annotationHandlerMethod.check(dataMethodAnnotationTriple.c, new Handler.MethodWrapper.ForMethod(dataMethodAnnotationTriple.b), dataMethodAnnotationTriple.a);
|
||||
} catch (Exception e) {
|
||||
throw new UnsupportedOperationException("Method check failed for " + dataMethodAnnotationTriple.b.getName(), e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user