public interface DynamicStructure extends Structure
Modifier and Type | Method and Description |
---|---|
<T> T |
getField(String fieldName,
Class<T> targetClass)
Gets a field value, represented as static bindings type.
|
<T> void |
setField(String fieldName,
T newValue,
Class<T> valueClass)
Sets a field value, represented as static bindings type.
|
_convertTo, _getCanonicalName, _getDataValue, _hasTypeNameOf
<T> T getField(String fieldName, 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(String fieldName, T newValue, 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
Copyright © 2015. All Rights Reserved.