protected boolean isInjectable(final Field field, final Object component) throws Exception {
        try {
            if (field.isSynthetic() || field.getType().isPrimitive()
                    || isIgnoreStrings() && field.getType() == String.class) {
                return false;
            }
        } catch (final Exception exception) {
            Exceptions.ignore(exception); // GWT compatibility.
            Gdx.app.debug("UEDI", "Unable to access field of component: " + component, exception);
            return false;
        }
        final int modifier = Modifier.getModifiers(field);
        if ((modifier & getFieldsIgnoreFilter()) != 0 || modifier == getFieldsIgnoreSignature()) {
            return false;
        }
        field.setAccessible(true);
        return field.get(component) == null;
    }
protected boolean isInjectable ( final Field field , final Object component ) throws Exception { try { if ( field . isSynthetic ( ) || field . getType ( ) . isPrimitive ( ) || isIgnoreStrings ( ) && field . getType ( ) == String . class ) { return false ; } } catch ( final Exception exception ) { Exceptions . ignore ( exception ) ; Gdx . app . debug ( "UEDI" , "Unable to access field of component: " + component , exception ) ; return false ; } final int modifier = Modifier . getModifiers ( field ) ; if ( ( modifier & getFieldsIgnoreFilter ( ) ) != 0 || modifier == getFieldsIgnoreSignature ( ) ) { return false ; } field . setAccessible ( true ) ; return field . get ( component ) == null ; }
@param field reflected field data.
@param component owner of the field.
@return true if the field is empty, accepted by the modifier filter, does not match modifier signature, not
primitive and - if strings are ignored - not a string.
@throws Exception due to reflection issues.