package jetbrains.mps.idea.java.psi.impl.blTypes;

/*Generated by MPS */

import jetbrains.mps.annotations.GeneratedClass;
import org.jetbrains.mps.openapi.model.SNodeId;
import com.intellij.psi.PsiManager;
import jetbrains.mps.idea.core.psi.impl.MPSPsiNode;

/**
 * danilla 8/28/13
 */
@GeneratedClass(node = "r:c3da7c0f-455f-4f59-9aeb-87893ec83594(jetbrains.mps.idea.java.psi.impl.blTypes)/8308904528689640811", model = "r:c3da7c0f-455f-4f59-9aeb-87893ec83594(jetbrains.mps.idea.java.psi.impl.blTypes)")
public class MPSPsiSequenceType extends MPSPsiCollectionType {
  public MPSPsiSequenceType(SNodeId id, String concept, String containingRole, PsiManager manager) {
    super(id, concept, containingRole, manager);
  }
  @Override
  protected String getClassName() {
    return "java.lang.Iterable";
  }
  @Override
  protected MPSPsiNode[] getChildTypeNodes() {
    // todo we could mimic the generator for SequenceType and do Iterable<? extends Iterable> for sequence<sequence<>>
    return getChildrenOfType("elementType", MPSPsiNode.class);
  }
}
