Bug 31226 Add Constructor Quick fix: Method body stub used, not constructor
20030206 Add Constructor Quick fix: Method body stub used, not constructor 1. quick fix on B import java.rmi.server.Operation; public class B extends Operation { }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConstructorFromSuperclassProposal.java
}
		if (commentSettings != null) {
			String string= StubUtility.getMethodComment(getCompilationUnit(), name, decl, null);
			if (string != null) {
				Javadoc javadoc= (Javadoc) rewrite.createPlaceholder(string, ASTRewrite.JAVADOC);
				decl.setJavadoc(javadoc);
			}
		}
		return decl;
	}
	private String[] getArgumentNames(IMethodBinding binding) {
		int nParams= binding.getParameterTypes().length;
		if (nParams > 0) {
			try {
				IMethod method= Binding2JavaModel.find(binding, getCompilationUnit().getJavaProject());
				if (method != null) {
					return method.getParameterNames();
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
		}			
		String[] names= new String[nParams];
		for (int i= 0; i < names.length; i++) {
			names[i]= "arg" + i; 
		}
		return names;
	}
}