public interface DynamicStructure extends Structure
Modifier and Type | Method and Description |
---|---|
<T> T |
getField(java.lang.String fieldName,
java.lang.Class<T> targetClass)
Gets a field value, represented as static bindings type.
|
<T> void |
setField(java.lang.String fieldName,
T newValue,
java.lang.Class<T> valueClass)
Sets a field value, represented as static bindings type.
|
_convertTo, _getCanonicalName, _getDataValue, _hasTypeNameOf
<T> T getField(java.lang.String fieldName, java.lang.Class<T> targetClass)
T
- static binding type for the field valuefieldName
- name of the field to gettargetClass
- Class
for the result field value<T> void setField(java.lang.String fieldName, T newValue, java.lang.Class<T> valueClass)
T
- static binding type for the field valuefieldName
- name of the field to setnewValue
- new value for fieldName
fieldvalueClass
- Class
of newValue