// Path: src/cmake/filetypes/CMakeFile.java
// public class CMakeFile extends PsiFileBase{
//     public static CMakeFile create(@NotNull FileViewProvider viewProvider) {
//         return new CMakeFile(viewProvider);
//     }
//     protected CMakeFile(@NotNull FileViewProvider viewProvider) {
//         super(viewProvider, CMakeLanguage.INSTANCE);
//     }
// 
//     @NotNull
//     @Override
//     public FileType getFileType() {
//         return CMakeFileType.INSTANCE;
//     }
// 
//     @Override
//     public String toString() {
//         return "CMake";
//     }
// 
//     @Override
//     public Icon getIcon(int flags) {
//         return super.getIcon(flags);
//     }
// }


import cmake.filetypes.CMakeFile;
import com.intellij.ide.IconProvider;
import com.intellij.openapi.project.DumbAware;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
package cmake.icons;



/**
 * Created by alex on 1/1/15.
 */
public class CMakeIconProvider extends IconProvider implements DumbAware {


    @Nullable
    @Override
    public Icon getIcon(PsiElement psiElement, int i) {
// Path: src/cmake/filetypes/CMakeFile.java
// public class CMakeFile extends PsiFileBase{
//     public static CMakeFile create(@NotNull FileViewProvider viewProvider) {
//         return new CMakeFile(viewProvider);
//     }
//     protected CMakeFile(@NotNull FileViewProvider viewProvider) {
//         super(viewProvider, CMakeLanguage.INSTANCE);
//     }
// 
//     @NotNull
//     @Override
//     public FileType getFileType() {
//         return CMakeFileType.INSTANCE;
//     }
// 
//     @Override
//     public String toString() {
//         return "CMake";
//     }
// 
//     @Override
//     public Icon getIcon(int flags) {
//         return super.getIcon(flags);
//     }
// }


// Path: src/cmake/icons/CMakeIconProvider.java
import cmake.filetypes.CMakeFile;
import com.intellij.ide.IconProvider;
import com.intellij.openapi.project.DumbAware;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;

package cmake.icons;



/**
 * Created by alex on 1/1/15.
 */
public class CMakeIconProvider extends IconProvider implements DumbAware {


    @Nullable
    @Override
    public Icon getIcon(PsiElement psiElement, int i) {
        if( psiElement instanceof CMakeFile)