question: public void legacyProcess ( Class clazz , Method m , MethodAppearanceDecision decision ) { if ( m . getDeclaringClass ( ) != Object . class && m . getReturnType ( ) != void . class && m . getParameterTypes ( ) . length == 0 ) { String mName = m . getName ( ) ; if ( ! looksLikePropertyReadMethod ( mName ) ) { decision . setExposeMethodAs ( null ) ; try { decision . setExposeAsProperty ( new PropertyDescriptor ( mName , clazz , mName , null ) ) ; } catch ( IntrospectionException e ) { throw new RuntimeException ( e ) ; } } } }
target:  This only exists as the tests need to call this through the deprecated method too. 