Java 类com.fasterxml.jackson.databind.annotation.JacksonStdImpl 实例源码

项目:QuizUpWinner    文件:StdSerializer.java   
public boolean isDefaultSerializer(JsonSerializer<?> paramJsonSerializer)
{
  return (paramJsonSerializer != null) && (paramJsonSerializer.getClass().getAnnotation(JacksonStdImpl.class) != null);
}
项目:QuizUpWinner    文件:StdDeserializer.java   
protected boolean isDefaultDeserializer(JsonDeserializer<?> paramJsonDeserializer)
{
  return (paramJsonDeserializer != null) && (paramJsonDeserializer.getClass().getAnnotation(JacksonStdImpl.class) != null);
}
项目:QuizUpWinner    文件:StdDeserializer.java   
protected boolean isDefaultKeyDeserializer(KeyDeserializer paramKeyDeserializer)
{
  return (paramKeyDeserializer != null) && (paramKeyDeserializer.getClass().getAnnotation(JacksonStdImpl.class) != null);
}
项目:QuizUpWinner    文件:ClassUtil.java   
public static boolean isJacksonStdImpl(Class<?> paramClass)
{
  return paramClass.getAnnotation(JacksonStdImpl.class) != null;
}
项目:joyplus-tv    文件:StdDeserializer.java   
protected boolean isDefaultKeyDeserializer(KeyDeserializer keyDeser) {
    return (keyDeser != null && keyDeser.getClass().getAnnotation(JacksonStdImpl.class) != null);
}
项目:joyplus-tv    文件:ClassUtil.java   
public static boolean isJacksonStdImpl(Class<?> implClass) {
    return (implClass.getAnnotation(JacksonStdImpl.class) != null);
}
项目:joyplus-tv    文件:StdSerializer.java   
/**
 * Method that can be called to determine if given serializer is the default
 * serializer Jackson uses; as opposed to a custom serializer installed by
 * a module or calling application. Determination is done using
 * {@link JacksonStdImpl} annotation on serializer class.
 */
protected boolean isDefaultSerializer(JsonSerializer<?> serializer) {
    return (serializer != null && serializer.getClass().getAnnotation(JacksonStdImpl.class) != null);
}
项目:joyplus-tv    文件:StdDeserializer.java   
/**
 * Method that can be called to determine if given deserializer is the default
 * deserializer Jackson uses; as opposed to a custom deserializer installed by
 * a module or calling application. Determination is done using
 * {@link JacksonStdImpl} annotation on deserializer class.
 */
protected boolean isDefaultDeserializer(JsonDeserializer<?> deserializer) {
    return (deserializer != null && deserializer.getClass().getAnnotation(JacksonStdImpl.class) != null);
}