We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84d7a4 commit 33af365Copy full SHA for 33af365
src/main/java/org/axonframework/intellij/ide/plugin/handler/DefaultEventHandlerProvider.java
@@ -52,7 +52,7 @@ public EventHandler resolve(PsiElement element) {
52
}
53
54
private EventHandler createHandlerBasedOnAnnotation(PsiMethod method, PsiAnnotation annotation) {
55
- if (annotation.getText().equals(AnnotationTypes.COMMAND_EVENT_HANDLER.getAnnotation())) {
+ if (AnnotationTypes.COMMAND_EVENT_HANDLER.getFullyQualifiedName().equals(annotation.getQualifiedName())) {
56
return CommandEventHandler.createEventHandler(method);
57
} else {
58
return DefaultEventHandler.createEventHandler(method, annotation);
0 commit comments