if (jsonParserRoot == null) {
throw new JsonProtocolModelParseException(
JsonParserRoot.class.getCanonicalName() + " annotation is expected in " + clazz);
}
for (Method m : clazz.getMethods()) {
JsonParseMethod jsonParseMethod = m.getAnnotation(JsonParseMethod.class);
if (jsonParseMethod == null) {
throw new JsonProtocolModelParseException(
JsonParseMethod.class.getCanonicalName() + " annotation is expected in " + clazz);
}