[Java]: Added semanticType() method to the java generated message stubs. Enhancement #72.