public static @Nullable IProperty findProperty(@NotNull IComponent component, final String name) {
    IProperty[] props = component.getModifiedProperties();
    for(IProperty prop: props) {
      if (prop.getName().equals(name)) return prop;
    }
    return null;
  }
public static @Nullable IProperty findProperty(@NotNull IComponent component, final String name)