Package org.quorum.symbols

Examples of org.quorum.symbols.FileDescriptor


    @Override
    public CompilerFileDescriptor getFileDescriptor(FileObject file) {
        if(file != null) {
            File ioFile = org.openide.filesystems.FileUtil.toFile(file);
            //ask the virtual machine for a fileDescriptor of a different type
            FileDescriptor fd = virtualMachine.getSymbolTable().getFileDescriptor(ioFile.getAbsolutePath());
            if(fd == null && !hasBuiltAllOnce()) {//try compiling if we haven't already
                Project project = FileOwnerQuery.getOwner(file);
                compile(project);
                fd = virtualMachine.getSymbolTable().getFileDescriptor(ioFile.getAbsolutePath());
            }
View Full Code Here


                }
            }
        }
        //get the subSequence that is highlighted
        CharSequence subSequence = pr.getSnapshot().getText().subSequence(startPosition+1, endPosition);
        FileDescriptor file = vm.getSymbolTable().getFileDescriptor(FileUtil.toFile(qpr.getSnapshot().getSource().getFileObject()).getAbsolutePath());
        Iterator<ClassDescriptor> classes = file.getClassIterator();
        ClassDescriptor clazz = null;
        while(classes.hasNext()) {
            clazz = classes.next();
        }
       
View Full Code Here

        return files.hasNext();
    }

    @Override
    public CompilerFileDescriptor next() {
        FileDescriptor file = files.next();
        QuorumFileDescriptor hfd = new QuorumFileDescriptor();
        hfd.setFileDescriptor(file);
        return hfd;
    }
View Full Code Here

TOP

Related Classes of org.quorum.symbols.FileDescriptor

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.