public interface FieldHandle
Object get(Object instance)
NullPointerException
- if the instance is nullClassCastException
- if the instance is not the type that contains the fieldvoid set(Object instance, Object newValue)
NullPointerException
- if the instance is nullNullPointerException
- if the newValue is null and the field is a primitive typeClassCastException
- if the instance is not the type that contains the fieldClassCastException
- if the newValue is not assignable to the field type (or not the matching wrapper type
for a primitive field)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.