/** * Function returns a name of the field. * * @param field - field handle * * @return Return a name of the field. */ const char * field_get_name(Field_Handle field); /** * Function returns the field descriptor. * The descriptor is a string representation of the field types as * defined by the JVM spec. * * @param field - field handle * * @return Return the field descriptor. */ const char * field_get_descriptor(Field_Handle field); /** * Function returns the class that defined that field. * * @param field - field handle * * @return Return the class that defined that field. */ Class_Handle field_get_class(Field_Handle field); /** * Function returns a Java type of a given field. * * @param field - field handle * * @return Return a Java type of a given field. */ Java_Type field_get_type(Field_Handle field); /** * Function returns an address of a static field. * * @param field - field handle * * @return Return an address of a static field. */ void * field_get_addr(Field_Handle field); /** * Function returns the offset to an instance field. * * @param field - field handle * * @return Return the offset to an instance field. */ unsigned field_get_offset(Field_Handle field); /** * Function returns the type info that represents the type of the field. * * @param field - field handle * * @return Return the type info. */ Type_Info_Handle field_get_type_info_of_field_value(Field_Handle field); /** * Function returns the class that represents the type of the field. * * @param field - field handle * * @return Return the class that represents the type of the field. */ Class_Handle field_get_class_of_field_value(Field_Handle field); /** * Function checks if the field is final. * * @param field - field handle * * @return Returns TRUE if the field is final. */ Boolean field_is_final(Field_Handle field); /** * Function checks if the field is static. * * @param field - field handle * * @return Returns TRUE if the field is static. */ Boolean field_is_static(Field_Handle field); /** * Function checks if the field is private. * * @param field - field handle * * @return Returns TRUE if the field is private. */ Boolean field_is_private(Field_Handle field); /** * Function checks if the field is public. * * @param field - field handle * * @return Returns TRUE if the field is public. */ Boolean field_is_public(Field_Handle field); /** * Function checks if the field is volatile. * * @param field - field handle * * @return Returns TRUE if the field is volatile. */ Boolean field_is_volatile(Field_Handle field); /** * Function checks if the field is literal. * * @param field - field handle * * @return Returns TRUE if the field is literal. */ Boolean field_is_literal(Field_Handle field); /** * Function checks if the field is injected. * * @param field - field handle * * @return Returns TRUE if the field is injected. */ Boolean field_is_injected(Field_Handle field);