Fix a match bug.
This commit is contained in:
parent
3f3d933365
commit
93b0186dd2
|
|
@ -70,8 +70,8 @@ public class PluginFinder {
|
||||||
judge = judge.and(not(isInterface()));
|
judge = judge.and(not(isInterface()));
|
||||||
for (AbstractClassEnhancePluginDefine define : signatureMatchDefine) {
|
for (AbstractClassEnhancePluginDefine define : signatureMatchDefine) {
|
||||||
ClassMatch match = define.enhanceClass();
|
ClassMatch match = define.enhanceClass();
|
||||||
if (match instanceof ClassAnnotationMatch) {
|
if (match instanceof IndirectMatch) {
|
||||||
judge = judge.or(((ClassAnnotationMatch)match).buildJunction());
|
judge = judge.or(((IndirectMatch)match).buildJunction());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return judge;
|
return judge;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue