public final class ProtoUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAnyField(io.protostuff.compiler.model.Field protoField) |
static boolean |
isPacked(io.protostuff.compiler.model.Field protoField) |
static boolean |
isSupportPacked(io.protostuff.compiler.model.Field protoField)
all supported type, default to packed
|
static boolean |
isWrapProperty(io.protostuff.compiler.model.FieldContainer fieldContainer) |
static void |
throwNotSupportMerge(io.protostuff.compiler.model.Field protoField,
com.fasterxml.jackson.databind.JavaType javaType) |
static void |
throwNotSupportNullElement(io.protostuff.compiler.model.Field protoField) |
static void |
throwNotSupportWrite(io.protostuff.compiler.model.Field protoField,
Class<?> cls) |
static void |
throwNotSupportWrite(io.protostuff.compiler.model.Field protoField,
Object value) |
public static boolean isAnyField(io.protostuff.compiler.model.Field protoField)
public static boolean isWrapProperty(io.protostuff.compiler.model.FieldContainer fieldContainer)
public static boolean isSupportPacked(io.protostuff.compiler.model.Field protoField)
protoField - public static boolean isPacked(io.protostuff.compiler.model.Field protoField)
public static void throwNotSupportWrite(io.protostuff.compiler.model.Field protoField,
Object value)
throws IllegalStateException
IllegalStateExceptionpublic static void throwNotSupportWrite(io.protostuff.compiler.model.Field protoField,
Class<?> cls)
throws IllegalStateException
IllegalStateExceptionpublic static void throwNotSupportMerge(io.protostuff.compiler.model.Field protoField,
com.fasterxml.jackson.databind.JavaType javaType)
throws IllegalStateException
IllegalStateExceptionpublic static void throwNotSupportNullElement(io.protostuff.compiler.model.Field protoField)
throws IllegalStateException
IllegalStateExceptionCopyright © 2017–2019 The Apache Software Foundation. All rights reserved.