core/src/main/java/org/trimou/engine/resolver/ReflectionResolver.java
static Field findField(Class<?> clazz, String name) {

        checkArgumentNotNull(clazz);
        checkArgumentNotNull(name);

        Field found = null;

        for (Field field : SecurityActions.getFields(clazz)) {
            if (field.getName().equals(name)) {
                found = field;
            }
        }
        LOGGER.debug("Field {} {}found on type: {}", name, found != null ? "" : "not ", clazz.getName());
        return found;
    }
static Field findField(Class<?> clazz, String name) {

        checkArgumentNotNull(clazz);
        checkArgumentNotNull(name);

        Field found = null;

        for (Field field : SecurityActions.getFields(clazz)) {
            if (field.getName().equals(name)) {
                found = field;
            }
        }
        LOGGER.debug("Field {} {}found on type: {}", name, found != null ? "" : "not ", clazz.getName());
        return found;
    }
static Field findField ( Class < ? > clazz , String name ) { checkArgumentNotNull ( clazz ) ; checkArgumentNotNull ( name ) ; Field found = null ; for ( Field field : SecurityActions . getFields ( clazz ) ) { if ( field . getName ( ) . equals ( name ) ) { found = field ; } } LOGGER . debug ( "Field {} {}found on type: {}" , name , found != null ? "" : "not " , clazz . getName ( ) ) ; return found ; }
Tries to find a public field with the given name on the given class.

@param clazz
@param name
@return the found field or <code>null</code>
Tries to find a public field with the given name on the given class .