Package org.quorum.vm.interfaces

Examples of org.quorum.vm.interfaces.CodeCompletionItem


    public Set<CompilerCodeCompletionResult> getResults() {
        TreeSet<CompilerCodeCompletionResult> set = new TreeSet<CompilerCodeCompletionResult>();
        Collection<CodeCompletionItem> items = virtualMachineResults.getCompletionItems();
        Iterator<CodeCompletionItem> iterator = items.iterator();
        while(iterator.hasNext()) {
            CodeCompletionItem next = iterator.next();
            CompilerCodeCompletionResult nextResult = new CompilerCodeCompletionResult();
            nextResult.setDisplayName(next.getDisplayName());
            nextResult.setDisplayType(next.getDisplayType());
            nextResult.setCompletion(next.getCompletion());
            nextResult.setDocumentation(next.getDocumentation());
            nextResult.setType(getType(next));
            nextResult.setIsBaseClassMethod(next.isBaseClassMethod());
            set.add(nextResult);
        }
        return set;
    }
View Full Code Here

TOP

Related Classes of org.quorum.vm.interfaces.CodeCompletionItem

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.