fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/Fixture.java
public void copyParamsToFixture() {
        for (final String fieldName : getArgNames()) {
            ValueReceiver valueReceiver;
            try {
                valueReceiver = valueReceiverFactory.createReceiver(this, fieldName);
            } catch (NoSuchMethodException | NoSuchFieldException e) {
                continue;
            }

            TypeHandler handler = createTypeHandler(valueReceiver, null);

            String fieldValueString = getArg(fieldName, null);
            try {
                Object fieldValue = handler.parse(fieldValueString);
                valueReceiver.set(this, fieldValue);
            } catch (Exception ignored) {
            }
        }
    }
public void copyParamsToFixture() {
        for (final String fieldName : getArgNames()) {
            ValueReceiver valueReceiver;
            try {
                valueReceiver = valueReceiverFactory.createReceiver(this, fieldName);
            } catch (NoSuchMethodException | NoSuchFieldException e) {
                continue;
            }

            TypeHandler handler = createTypeHandler(valueReceiver, null);

            String fieldValueString = getArg(fieldName, null);
            try {
                Object fieldValue = handler.parse(fieldValueString);
                valueReceiver.set(this, fieldValue);
            } catch (Exception ignored) {
            }
        }
    }
public void copyParamsToFixture ( ) { for ( final String fieldName : getArgNames ( ) ) { ValueReceiver valueReceiver ; try { valueReceiver = valueReceiverFactory . createReceiver ( this , fieldName ) ; } catch ( NoSuchMethodException | NoSuchFieldException e ) { continue ; } TypeHandler handler = createTypeHandler ( valueReceiver , null ) ; String fieldValueString = getArg ( fieldName , null ) ; try { Object fieldValue = handler . parse ( fieldValueString ) ; valueReceiver . set ( this , fieldValue ) ; } catch ( Exception ignored ) { } } }
Reads the argument list and copies all values in public members
with the same name.
<p>
If these members do not exist, the argument is skipped. You can still
read the values using {@link #getArg(String, String)}.

@see #getArg(String, String) getArg
Reads the argument list and copies all values in public members with the same name . <p > If these members do not exist the argument is skipped . You can still read the values using { @link #getArg ( String String ) } .