api/src/main/java/org/ocpsoft/rewrite/util/ParameterUtils.java
public static void initialize(ParameterStore store, Object parameterized)
   {
      if (parameterized instanceof Parameterized)
      {
         Set<String> names = ((Parameterized) parameterized).getRequiredParameterNames();
         for (String name : names) {
            store.get(name, new DefaultParameter(name));
         }
         ((Parameterized) parameterized).setParameterStore(store);
      }
   }
public static void initialize(ParameterStore store, Object parameterized)
   {
      if (parameterized instanceof Parameterized)
      {
         Set<String> names = ((Parameterized) parameterized).getRequiredParameterNames();
         for (String name : names) {
            store.get(name, new DefaultParameter(name));
         }
         ((Parameterized) parameterized).setParameterStore(store);
      }
   }
public static void initialize ( ParameterStore store , Object parameterized ) { if ( parameterized instanceof Parameterized ) { Set < String > names = ( ( Parameterized ) parameterized ) . getRequiredParameterNames ( ) ; for ( String name : names ) { store . get ( name , new DefaultParameter ( name ) ) ; } ( ( Parameterized ) parameterized ) . setParameterStore ( store ) ; } }
Initialize the {@link Parameterized} instance with the given {@link ParameterStore}, also record required
parameter names in the {@link ParameterStore} and initialize with a new {@link Parameter} instance.
Initialize the {