proxy should be final
add a demo for java 8