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

Examples of org.springframework.ide.eclipse.quickfix.jdt.proposals.AddPathVariableCompletionProposal


    List<IJavaCompletionProposal> proposals = new ArrayList<IJavaCompletionProposal>();
    List<SingleVariableDeclaration> includedParams = new ArrayList<SingleVariableDeclaration>();
    for (UriTemplateVariable variable : variableToMissingAnnotationParams.keySet()) {
      List<SingleVariableDeclaration> missingAnnotationsParams = variableToMissingAnnotationParams.get(variable);
      for (SingleVariableDeclaration param : missingAnnotationsParams) {
        proposals.add(new AddPathVariableCompletionProposal(variable, param, getMethodDeclaration(param), cu,
            decl instanceof TypeDeclaration));
        includedParams.add(param);
      }

      if (missingAnnotationsParams.isEmpty() && decl instanceof MethodDeclaration
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.jdt.proposals.AddPathVariableCompletionProposal

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.