@Override
    public Alignment getAlignment(@Nullable IElementType parentType, @Nullable IElementType childType) {
      if (myParentType != null && parentType != null && myParentType != parentType) {
        return null;
      }
      return myAlignments.get(childType);
    }
@Override
    public Alignment getAlignment(@Nullable IElementType parentType, @Nullable IElementType childType)