protected String computeReplacementString() { if (!hasParameters() || !hasArgumentList()) return super.computeReplacementString(); long millis= DEBUG ? System.currentTimeMillis() : 0; String replacement; try { replacement= computeGuessingCompletion(); } catch (JavaModelException x) { fPositions= null; fChoices= null; JavaPlugin.log(x); openErrorDialog(x); return super.computeReplacementString(); } if (DEBUG) System.err.println("Parameter Guessing: " + (System.currentTimeMillis() - millis)); //$NON-NLS-1$ return replacement; }
@Override protected String computeReplacementString() { if (!hasParameters() || !hasArgumentList()) return super.computeReplacementString(); long millis= JavaPlugin.DEBUG_RESULT_COLLECTOR ? System.currentTimeMillis() : 0; String replacement; try { replacement= computeGuessingCompletion(); } catch (JavaModelException x) { fPositions= null; fChoices= null; JavaPlugin.log(x); openErrorDialog(x); return super.computeReplacementString(); } if (JavaPlugin.DEBUG_RESULT_COLLECTOR) System.err.println("Parameter Guessing: " + (System.currentTimeMillis() - millis)); //$NON-NLS-1$ return replacement; }
@Override protected String computeReplacementString() { if (!hasParameters() || !hasArgumentList()) return super.computeReplacementString(); long millis= JavaPlugin.DEBUG_RESULT_COLLECTOR ? System.currentTimeMillis() : 0; String replacement; try { replacement= computeGuessingCompletion(); } catch (JavaModelException x) { fPositions= null; fChoices= null; JavaPlugin.log(x); openErrorDialog(x); return super.computeReplacementString(); } if (JavaPlugin.DEBUG_RESULT_COLLECTOR) System.err.println("Parameter Guessing: " + (System.currentTimeMillis() - millis)); //$NON-NLS-1$ return replacement; }
@Override protected String computeReplacementString() { if (!hasParameters() || !hasArgumentList()) { return super.computeReplacementString(); } final long millis = DEBUG ? System.currentTimeMillis() : 0; String replacement; try { replacement = computeGuessingCompletion(); } catch (final JavaModelException x) { fPositions = null; fChoices = null; JavaPlugin.log(x); openErrorDialog(x); return super.computeReplacementString(); } if (DEBUG) { System.err.println("Parameter Guessing: " + (System.currentTimeMillis() - millis)); //$NON-NLS-1$ } return replacement; }
@Override protected String computeReplacementString() { if (!hasParameters() || !hasArgumentList()) { return super.computeReplacementString(); } final long millis = DEBUG ? System.currentTimeMillis() : 0; String replacement; try { replacement = computeGuessingCompletion(); } catch (final JavaModelException x) { fPositions = null; fChoices = null; JavaPlugin.log(x); openErrorDialog(x); return super.computeReplacementString(); } if (DEBUG) { System.err.println("Parameter Guessing: " + (System.currentTimeMillis() - millis)); //$NON-NLS-1$ } return replacement; }
protected String computeReplacementString() { return super.computeReplacementString();