| Method and Description | 
|---|
| com.sun.jna.Native.getPreserveLastError()
 The preferred method of obtaining the last error result is
 to declare your mapped method to throw  
LastErrorException
 instead. | 
| com.sun.jna.Memory.getSize()
 use  
Memory.size() instead. | 
| com.sun.jna.Memory.isValid()
 use  
Memory.valid() instead. | 
| com.sun.jna.Structure.setFieldOrder(String[])
 Use the required method getFieldOrder() instead to
 indicate the order of fields in this structure. 
 | 
| com.sun.jna.Native.setPreserveLastError(boolean)
 The preferred method of obtaining the last error result is
 to declare your mapped method to throw  
LastErrorException
 instead. | 
| com.sun.jna.Structure.setTypeMapper(TypeMapper)
 You should use one of  
Structure.Structure(TypeMapper)
 or Structure.Structure(Pointer,int,TypeMapper) constructors instead. |