proxy jdk1.7 method