Package ro.redeul.google.go.inspection.fix

Examples of ro.redeul.google.go.inspection.fix.AddImportFix$ChoosePackagePopupStep


        GoFile goFile = (GoFile) file;
        GoNamesCache namesCache = GoNamesCache.getInstance(context.getProject());
        List<String> sdkPackages = getPackagesByName(namesCache.getSdkPackages(), packageName);
        List<String> projectPackages = getPackagesByName(namesCache.getProjectPackages(), packageName);
        new AddImportFix(sdkPackages, projectPackages, goFile, context.getEditor()).execute();
    }
View Full Code Here


                List<String> allPackages = new ArrayList<String>(
                    data.projectPackages);
                allPackages.addAll(data.sdkPackages);
                String importMessage = getPromptMessage(allPackages);
                AddImportFix fix = new AddImportFix(data.sdkPackages,
                                                    data.projectPackages, file,
                                                    editor);
                GoLiteralIdentifier identifier = data.identifier;
                int start = identifier.getTextOffset();
                int end = identifier.getTextRange().getEndOffset();
View Full Code Here

TOP

Related Classes of ro.redeul.google.go.inspection.fix.AddImportFix$ChoosePackagePopupStep

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.