Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dfaa1 commit 6533164Copy full SHA for 6533164
src/net/sf/j2s/core/astvisitors/ASTScriptVisitor.java
@@ -1385,6 +1385,13 @@ public boolean visit(MethodDeclaration node) {
1385
SuperConstructorInvocation superConstructor = (SuperConstructorInvocation) statement;
1386
needToCheckArgs = true;
1387
argsList = superConstructor.arguments();
1388
+ if (argsList.size() == 0) {
1389
+ IMethodBinding constructorBinding = superConstructor.resolveConstructorBinding();
1390
+ ITypeBinding declaringClass = constructorBinding.getDeclaringClass();
1391
+ if ("java.lang.Object".equals(declaringClass.getQualifiedName())) {
1392
+ needToCheckArgs = false;
1393
+ }
1394
1395
}
1396
1397
if (needToCheckArgs) {
0 commit comments