Example example = new Example(); Field field = example.getClass().getDeclaredField("stringB");