Package org.msgpack.annotation

Examples of org.msgpack.annotation.Message


      throw new TemplateBuildException("Cannot build template of primitive type: " + targetClass.getName());
  }
    }

    protected FieldOption getFieldOption(Class<?> targetClass) {
  Message m = targetClass.getAnnotation(Message.class);
  if (m == null) {
      return FieldOption.DEFAULT;
  }
  MessagePackMessage mpm = targetClass.getAnnotation(MessagePackMessage.class);
  if (mpm == null) {
      return FieldOption.DEFAULT;
  }
  // TODO #MN
  return m.value();
    }
View Full Code Here

TOP

Related Classes of org.msgpack.annotation.Message

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.