public static Object stripShallow(Object decorated) {
        try {
            InjectableProperty delegateProperty = new ConfigClassAnalyzer(decorated.getClass()).getDelegateProperty();
            if (delegateProperty == null) {
                return decorated;
            } else {
                return delegateProperty.getValue(decorated);
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
public static Object stripShallow ( Object decorated ) { try { InjectableProperty delegateProperty = new ConfigClassAnalyzer ( decorated . getClass ( ) ) . getDelegateProperty ( ) ; if ( delegateProperty == null ) { return decorated ; } else { return delegateProperty . getValue ( decorated ) ; } } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
/*
Strips the first decoration from the decorated object. If the object is not decorated the method
returns the object itself.