introduced support of netbeans-compatible mainClass declaration