mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix overriding final methods
This commit is contained in:
@@ -461,9 +461,9 @@ public class AdvancedEnhancer extends AbstractClassGenerator
|
||||
}
|
||||
methods.addAll(interfaceMethods);
|
||||
}
|
||||
CollectionUtils.filter(methods, new DuplicatesPredicate());
|
||||
CollectionUtils.filter(methods, new RejectModifierPredicate(Constants.ACC_STATIC | Constants.ACC_FINAL));
|
||||
CollectionUtils.filter(methods, new VisibilityPredicate(superclass, true));
|
||||
CollectionUtils.filter(methods, new DuplicatesPredicate());
|
||||
}
|
||||
|
||||
public void generateClass(ClassVisitor v) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user