mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
+3
-1
@@ -132,7 +132,9 @@ public class CreateConstructorMatchingSuperFix extends BaseIntentionAction {
|
||||
}
|
||||
}
|
||||
|
||||
derived.setName(targetClass.getName());
|
||||
final String targetClassName = targetClass.getName();
|
||||
LOG.assertTrue(targetClassName != null, targetClass);
|
||||
derived.setName(targetClassName);
|
||||
|
||||
ConstructorBodyGenerator generator = ConstructorBodyGenerator.INSTANCE.forLanguage(derived.getLanguage());
|
||||
if (generator != null) {
|
||||
|
||||
Reference in New Issue
Block a user