code: public static Type protoType(Descriptor descriptor) {
      return Type.getType('L' + JavaQualifiedNames.getClassName(descriptor).replace('.', '/') + ';');
    }
docs: Returns the runtime type for the message correspdoning to the given descriptor..