public @NotNull IStubElementType getElementType() {
    if (!(myElementType instanceof IStubElementType)) {
      throw new ClassCastException("Not a stub type: " + myElementType + " in " + getClass());
    }
    return (IStubElementType<?, ?>)myElementType;
  }
public @NotNull IStubElementType getElementType()