Buggy code:
public class Consumer { private Logger log ; private static AtomicInteger id = new AtomicInteger ( 1 ) ; private static ObjectMapper mapper = new ObjectMapper ( ) ; private final ClassLoader classLoader ; private final ForkliftConnectorI connector ; private final Map < Class , Map < Class < ? > , List < Field > > > injectFields ; private final Class < ? > msgHandler ; private final String name ; private final List < Method > onMessage ; private final List < Method > onValidate ; private final Queue queue ; private final Topic topic ; private final ApplicationContext context ; private final BlockingQueue < Runnable > blockQueue ; private final ThreadPoolExecutor threadPool ; private Callback < Consumer > outOfMessages ; private AtomicBoolean running = new AtomicBoolean ( false ) ; public Consumer ( Class < ? > msgHandler , ForkliftConnectorI connector ) { } public Consumer ( Class < ? > msgHandler , ForkliftConnectorI connector , ClassLoader classLoader ) { } @ SuppressWarnings ( "unchecked" ) public Consumer ( Class < ? > msgHandler , ForkliftConnectorI connector , ClassLoader classLoader , ApplicationContext context ) { } public void listen ( ) { } public String getName ( ) { } public void messageLoop ( MessageConsumer consumer ) { } public void shutdown ( ) { } public void setOutOfMessages ( Callback < Consumer > outOfMessages ) { } public void inject ( ForkliftMessage msg , final Object instance ) { injectFields . keySet ( ) . stream ( ) . forEach ( ( decorator ) -> { final Map < Class < ? > , List < Field > > fields = injectFields . get ( decorator ) ; fields . keySet ( ) . stream ( ) . forEach ( ( clazz ) -> { fields . get ( clazz ) . forEach ( ( f ) -> { try { if ( decorator == ( Message . class ) ) { if ( clazz == ( ForkliftMessage . class ) ) { f . set ( instance , msg ) ; } else if ( clazz == ( String . class ) ) { f . set ( instance , msg . getMsg ( ) ) ; } else if ( clazz == ( Map . class ) ) { f . set ( instance , KeyValueParser . parse ( msg . getMsg ( ) ) ) ; } else { f . set ( instance , Consumer . mapper . readValue ( msg . getMsg ( ) , clazz ) ) ; } } else if ( decorator == ( Inject . class ) ) { if ( clazz == ( ApplicationContext . class ) ) { f . set ( instance , context ) ; } else { f . set ( instance , context . getBean ( clazz ) ) ; } } else if ( decorator == ( Config . class ) ) { if ( clazz == ( Properties . class ) ) { Config config = f . getAnnotation ( Config . class ) ; <START_BUG> PropertiesManager . get ( config . value ( ) ) ; <END_BUG> } } else if ( decorator == ( Headers . class ) ) { if ( clazz == ( Map . class ) ) { f . set ( instance , msg . getHeaders ( ) ) ; } } else if ( decorator == ( Properties . class ) ) { if ( clazz == ( Map . class ) ) { f . set ( instance , msg . getProperties ( ) ) ; } } else if ( decorator == ( Producer . class ) ) { if ( clazz == ( ForkliftProducerI . class ) ) { Producer producer = f . getAnnotation ( Producer . class ) ; if ( ( producer . queue ( ) . length ( ) ) > 0 ) { f . set ( instance , connector . getQueueProducer ( producer . queue ( ) ) ) ; } else if ( ( producer . topic ( ) . length ( ) ) > 0 ) { f . set ( instance , connector . getTopicProducer ( producer . topic ( ) ) ) ; } } } } catch ( Exception e ) { log . error ( "Error<seq2seq4repair_space>injecting<seq2seq4repair_space>data<seq2seq4repair_space>into<seq2seq4repair_space>Msg<seq2seq4repair_space>Handler" , e ) ; throw new RuntimeException ( "Error<seq2seq4repair_space>injecting<seq2seq4repair_space>data<seq2seq4repair_space>into<seq2seq4repair_space>Msg<seq2seq4repair_space>Handler" ) ; } } ) ; } ) ; } ) ; } public Class < ? > getMsgHandler ( ) { } public Queue getQueue ( ) { } public Topic getTopic ( ) { } public ForkliftConnectorI getConnector ( ) { } }

Fix:
f . set ( instance , PropertiesManager . get ( config . value ( ) ) ) ;