package de.plushnikov.intellij.plugin.language.psi;

import com.intellij.extapi.psi.PsiFileBase;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.psi.FileViewProvider;
import de.plushnikov.intellij.plugin.language.LombokConfigFileType;
import de.plushnikov.intellij.plugin.language.LombokConfigLanguage;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;

public class LombokConfigFile extends PsiFileBase {
  public LombokConfigFile(@NotNull FileViewProvider viewProvider) {
    super(viewProvider, LombokConfigLanguage.INSTANCE);
  }

  @Override
  public @NotNull FileType getFileType() {
    return LombokConfigFileType.INSTANCE;
  }

  @Override
  public String toString() {
    return "LombokConfigFile";
  }

  @Override
  public Icon getIcon(int flags) {
    return super.getIcon(flags);
  }
}
