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 33038e8 commit 4529e79Copy full SHA for 4529e79
src/main/java/xdean/annotation/processor/toolkit/meta/AbstractMetaProcessor.java
@@ -37,7 +37,7 @@ public AbstractMetaProcessor() {
37
SupportedMetaAnnotation meta = this.getClass().getAnnotation(SupportedMetaAnnotation.class);
38
if (meta == null) {
39
throw new Error("AbstractMetaProcessor must use with @SupportedMetaAnnotation.");
40
- } else if (meta.value().isAnnotationPresent(Meta.class)) {
+ } else if (!meta.value().isAnnotationPresent(Meta.class)) {
41
throw new Error("AbstractMetaProcessor only can process Annotation with @Meta.");
42
}
43
metaClass = (Class<T>) meta.value();
0 commit comments