| Modifier and Type | Class and Description |
|---|---|
| public static class | JavaSerializationHint.Builder
Builder for |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeReference | |
| private final TypeReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public TypeReference | getReachableType()
Implements org. null if this hint should always been applied.
|
| public TypeReference | Returns: aSerializable typeReturn the |
| public int |
| reachableType | back to summary |
|---|---|
| private final TypeReference reachableType
| |
| type | back to summary |
|---|---|
| private final TypeReference type | |
| JavaSerializationHint | back to summary |
|---|---|
| pack-priv JavaSerializationHint(JavaSerializationHint. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getReachableType | back to summary |
|---|---|
| public TypeReference getReachableType() Implements org. Doc from org. Return the type that should be reachable for this hint to apply, or
| |
| getType | back to summary |
|---|---|
| public TypeReference getType() Return the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
JavaSerializationHint.
| Modifier and Type | Field and Description |
|---|---|
| private TypeReference | |
| private final TypeReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv JavaSerializationHint | Returns: a java serialization hintCreate a |
| public JavaSerializationHint. | Returns: this, to facilitate method chainingthe type that should be reachable for this
hint to apply reachableType)Make this hint conditional on the fact that the specified type can be resolved. |
| reachableType | back to summary |
|---|---|
| private TypeReference reachableType
| |
| type | back to summary |
|---|---|
| private final TypeReference type | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(TypeReference type) | |
| build | back to summary |
|---|---|
| pack-priv JavaSerializationHint build() Create a
| |
| onReachableType | back to summary |
|---|---|
| public JavaSerializationHint. Make this hint conditional on the fact that the specified type can be resolved.
| |