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