improve resolving attr "extends" of element "toJava"
Merge pull request #10 from kuozhang/tmp2

improve resolving attr "extends" of element "toJava"