Examples of FSInfo


Examples of com.sun.tools.javac.file.FSInfo

            MultiTaskListener mtl = context.get(MultiTaskListener.taskListenerKey);
            if (mtl != null)
                next.put(MultiTaskListener.taskListenerKey, mtl);

            FSInfo fsInfo = context.get(FSInfo.class);
            if (fsInfo != null)
                next.put(FSInfo.class, fsInfo);

            JavaFileManager jfm = context.get(JavaFileManager.class);
            Assert.checkNonNull(jfm);
View Full Code Here

Examples of com.sun.tools.javac.file.FSInfo

            TaskListener tl = context.get(TaskListener.class);
            if (tl != null)
                next.put(TaskListener.class, tl);

            FSInfo fsInfo = context.get(FSInfo.class);
            if (fsInfo != null)
                next.put(FSInfo.class, fsInfo);

            JavaFileManager jfm = context.get(JavaFileManager.class);
            Assert.checkNonNull(jfm);
View Full Code Here

Examples of com.sun.tools.javac.file.FSInfo

    //---------------

    @Override
    public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
        Context context = ((JavacProcessingEnvironment) processingEnv).getContext();
        FSInfo fsInfo = context.get(FSInfo.class);

        round++;
        if (round == 1) {
            boolean expect = Boolean.valueOf(options.get("expect"));
            checkEqual("cache result", fsInfo.isDirectory(testDir), expect);
            initialFSInfo = fsInfo;
        } else {
            checkEqual("fsInfo", fsInfo, initialFSInfo);
        }
View Full Code Here

Examples of lcmc.cluster.ui.resource.FSInfo

        final Map<String, FSInfo> oldFilesystems = getFilesystemsMap();
        mFileSystemsWriteLock.lock();
        try {
            treeMenuController.removeChildren(fileSystemsNode);
            for (final String fs : fileSystems) {
                final FSInfo fsi;
                if (oldFilesystems.containsKey(fs)) {
                    fsi = oldFilesystems.get(fs);
                } else {

                    fsi = fsInfoProvider.get();
                    fsi.init(fs, thisClass);
                }
                treeMenuController.addChild(fileSystemsNode,  treeMenuController.createMenuItem(fsi));
            }
            treeMenuController.reloadNode(fileSystemsNode, false);
        } finally {
View Full Code Here

Examples of lcmc.cluster.ui.resource.FSInfo

    Map<String, FSInfo> getFilesystemsMap() {
        final Map<String, FSInfo> filesystems = new HashMap<String, FSInfo>();
        mFileSystemsReadLock.lock();
        try {
            for (final Info info : treeMenuController.nodesToInfos(fileSystemsNode.children())) {
                final FSInfo fsInfo = (FSInfo) info;
                filesystems.put(fsInfo.getName(), fsInfo);
            }
        } finally {
            mFileSystemsReadLock.unlock();
        }
        return filesystems;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.