mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 12:19:00 +00:00
[jdt]: check decl.methods for null in PatchDelegate
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user