[jdt]: check decl.methods for null in PatchDelegate

This commit is contained in:
not-pishii committed 2026-09-04 14:26:40 +03:00
1 parent 8818884081
commit 7cb6a9af15
1 file changed
+1 -1
@@ -983,7 +983,7 @@ public class PatchDelegate {
private static Set<String> findAlreadyImplementedMethods(TypeDeclaration decl) {
Set<String> sigs = new HashSet<String>();
for (AbstractMethodDeclaration md : decl.methods) {
if (decl.methods != null) for (AbstractMethodDeclaration md : decl.methods) {
if (md.isStatic()) continue;
if ((md.modifiers & ClassFileConstants.AccBridge) != 0) continue;
if (md.isConstructor()) continue;