VirtualFile[] files = compileScope.getFiles(StdFileTypes.JAVA, true);
VirtualFile[] files = compileScope.getFiles(FileTypeManager.getInstance().getFileTypeByExtension("JAVA"), true);
    public ProcessingItem[] getProcessingItems(CompileContext compileContext) {        //TODO: we should link a class with its annotation to ensure correct recompilation        // when Anno interface changes        List item = new ArrayList();        CompileScope compileScope = compileContext.getCompileScope();        VirtualFile[] files = compileScope.getFiles(StdFileTypes.JAVA, true);        for (int i = 0; i < files.length; i++) {            final VirtualFile file = files[i];            item.add(                    new ProcessingItem() {                public VirtualFile getFile() {                    return file;                }                public ValidityState getValidityState() {                    return new TimestampValidityState(file.getModificationStamp());                }            }            );        }        return (ProcessingItem[]) item.toArray(new ProcessingItem[]{});    }