Package org.springframework.ide.eclipse.quickfix.proposals

Examples of org.springframework.ide.eclipse.quickfix.proposals.RemoveConstructorParamQuickFixProposal


        beanNode, label));

    IMethodBinding methodBinding = QuickfixUtils.getMethodBinding(javaProject, constructor);
    if (methodBinding != null) {
      label = "Change constructor " + getConstructorDisplay(constructor);
      proposals.add(new RemoveConstructorParamQuickFixProposal(offset, length, missingEndQuote,
          numAdditionalArgs, constructor, label, javaProject));
    }

    return proposals;
  }
View Full Code Here


      if (method.isConstructor() && method.getNumberOfParameters() == original) {
        constructor = method;
        break;
      }
    }
    RemoveConstructorParamQuickFixProposal proposal = new RemoveConstructorParamQuickFixProposal(offset, length,
        false, removal, constructor, "", javaProject);
    proposal.apply(document);

  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.proposals.RemoveConstructorParamQuickFixProposal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.