Package com.dslplatform.json.runtime
Class DecodePropertyInfo<T>
java.lang.Object
com.dslplatform.json.runtime.DecodePropertyInfo<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionDecodePropertyInfo(String name, boolean exactName, boolean mandatory, int index, boolean nonNull, T value) privateDecodePropertyInfo(String name, boolean exactName, boolean mandatory, long mandatoryValue, int index, boolean nonNull, int hash, int weakHash, T value, byte[] nameBytes) -
Method Summary
Modifier and TypeMethodDescription(package private) static int(package private) static longcalculateMandatory(DecodePropertyInfo[] decoders) (package private) static intcalcWeakHash(String name) (package private) static <T> DecodePropertyInfo<T>[]prepare(DecodePropertyInfo<T>[] initial, int argumentCount) (package private) static voidshowMandatoryError(JsonReader reader, long mandatoryFlag, DecodePropertyInfo[] decoders)
-
Field Details
-
name
-
hash
public final int hash -
weakHash
public final int weakHash -
exactName
public final boolean exactName -
mandatory
public final boolean mandatory -
index
public final int index -
nonNull
public final boolean nonNull -
value
-
mandatoryValue
final long mandatoryValue -
nameBytes
final byte[] nameBytes
-
-
Constructor Details
-
DecodePropertyInfo
-
DecodePropertyInfo
-
-
Method Details
-
calcHash
-
calcWeakHash
-
prepare
-
calculateMandatory
-
showMandatoryError
static void showMandatoryError(JsonReader reader, long mandatoryFlag, DecodePropertyInfo[] decoders) throws ParsingException - Throws:
ParsingException
-