fix Boolean/true/false classnames
imitate JVM behavior
fix #425 for methods