FieldInfo.createForField(String, Class, BracketType, Field) instead.@Deprecated public class VanillaFieldInfo extends AbstractFieldInfo implements FieldInfo
bracketType, name, type| Constructor and Description |
|---|
VanillaFieldInfo(String name,
Class type,
BracketType bracketType,
@NotNull Field field)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
genericType(int index)
Deprecated.
Returns a
Class identifying the declared generic type of the
field represented by this FieldInfo object. |
@Nullable Object |
get(Object object)
Deprecated.
Returns the value of the field represented by this
FieldInfo object
as an Object. |
char |
getChar(Object object)
Deprecated.
Returns the value of the field represented by this
FieldInfo object
as a char primitive. |
double |
getDouble(Object object)
Deprecated.
Returns the value of the field represented by this
FieldInfo object
as a double primitive. |
Field |
getField()
Deprecated.
|
int |
getInt(Object object)
Deprecated.
Returns the value of the field represented by this
FieldInfo object
as an int primitive. |
long |
getLong(Object object)
Deprecated.
Returns the value of the field represented by this
FieldInfo object
as a long primitive. |
boolean |
isEqual(Object a,
Object b)
Deprecated.
|
static net.openhft.chronicle.wire.Wires.FieldInfoPair |
lookupClass(@NotNull Class aClass)
Deprecated.
Use
FieldInfo.lookupClass(Class) instead (to be removed in x.25) |
void |
set(Object object,
char value)
Deprecated.
Sets the value of the field represented by this
FieldInfo object
to the provided value. |
void |
set(Object object,
double value)
Deprecated.
Sets the value of the field represented by this
FieldInfo object
to the provided value. |
void |
set(Object object,
int value)
Deprecated.
Sets the value of the field represented by this
FieldInfo object
to the provided value. |
void |
set(Object object,
long value)
Deprecated.
Sets the value of the field represented by this
FieldInfo object
to the provided value. |
void |
set(Object object,
Object value)
Deprecated.
Sets the value of the field represented by this
FieldInfo object
to the provided value. |
bracketType, equals, hashCode, name, toString, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitbracketType, copy, createForField, name, typepublic VanillaFieldInfo(String name, Class type, BracketType bracketType, @NotNull @NotNull Field field)
@NotNull @Deprecated public static net.openhft.chronicle.wire.Wires.FieldInfoPair lookupClass(@NotNull @NotNull Class aClass)
FieldInfo.lookupClass(Class) instead (to be removed in x.25)lookupClass in interface FieldInfo@Nullable public @Nullable Object get(Object object)
FieldInfoFieldInfo object
as an Object. The provided object is used as a target to
extract the field from.public long getLong(Object object)
FieldInfoFieldInfo object
as a long primitive. The provided object is used as a target
to extract the field from.public int getInt(Object object)
FieldInfoFieldInfo object
as an int primitive. The provided object is used as a target
to extract the field from.public char getChar(Object object)
FieldInfoFieldInfo object
as a char primitive. The provided object is used as a target
to extract the field from.public double getDouble(Object object)
FieldInfoFieldInfo object
as a double primitive. The provided object is used as a target
to extract the field from.public void set(Object object, Object value) throws IllegalArgumentException
FieldInfoFieldInfo object
to the provided value. The provided object is used as a
target to the extract eh field from.set in interface FieldInfoIllegalArgumentExceptionpublic void set(Object object, int value) throws IllegalArgumentException
FieldInfoFieldInfo object
to the provided value. The provided object is used as a
target to the extract eh field from.set in interface FieldInfoIllegalArgumentExceptionpublic void set(Object object, char value) throws IllegalArgumentException
FieldInfoFieldInfo object
to the provided value. The provided object is used as a
target to the extract eh field from.set in interface FieldInfoIllegalArgumentExceptionpublic void set(Object object, long value) throws IllegalArgumentException
FieldInfoFieldInfo object
to the provided value. The provided object is used as a
target to the extract eh field from.set in interface FieldInfoIllegalArgumentExceptionpublic void set(Object object, double value) throws IllegalArgumentException
FieldInfoFieldInfo object
to the provided value. The provided object is used as a
target to the extract eh field from.set in interface FieldInfoIllegalArgumentExceptionpublic Field getField() throws NoSuchFieldException
NoSuchFieldExceptionpublic Class<?> genericType(int index)
FieldInfoClass identifying the declared generic type of the
field represented by this FieldInfo object.genericType in interface FieldInfoClass identifying the declared generic type of the
field represented by this FieldInfo object.Copyright © 2023. All rights reserved.