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

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


    String label = "Remove <constructor-arg> to match " + getConstructorDisplay(constructor);
    proposals.add(new RemoveConstructorArgQuickFixProposal(offset, length, missingEndQuote, numAdditionalParams,
        beanNode, label));

    label = "Change constructor " + getConstructorDisplay(constructor);
    proposals.add(new AddConstructorParamQuickFixProposal(offset, length, missingEndQuote, numAdditionalParams,
        constructor, label, javaProject));
    return proposals;
  }
View Full Code Here


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

    return type;
  }
View Full Code Here

TOP

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

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.