Attachment 'field_access.txt'

Download

   1  
   2 
   3 /**
   4 
   5  
   6 
   7  * Function returns a name of the field.
   8 
   9  
  10 
  11  *
  12 
  13  * @param field - field handle
  14 
  15  *
  16 
  17  * @return Return a name of the field.
  18 
  19  
  20 
  21  */
  22 
  23  
  24 
  25 const char *
  26 
  27 field_get_name(Field_Handle field);
  28 
  29  
  30 
  31 /**
  32 
  33  
  34 
  35  * Function returns the field descriptor.
  36 
  37  * The descriptor is a string representation of the field types as
  38 
  39  * defined by the JVM spec.
  40 
  41  *
  42 
  43  * @param field - field handle
  44 
  45  *
  46 
  47  * @return Return the field descriptor.
  48 
  49  
  50 
  51  */
  52 
  53  
  54 
  55 const char *
  56 
  57 field_get_descriptor(Field_Handle field);
  58 
  59  
  60 
  61 /**
  62 
  63  
  64 
  65  * Function returns the class that defined that field.
  66 
  67  *
  68 
  69  * @param field - field handle
  70 
  71  *
  72 
  73  * @return Return the class that defined that field.
  74 
  75  
  76 
  77  */
  78 
  79  
  80 
  81 Class_Handle
  82 
  83 field_get_class(Field_Handle field);
  84 
  85  
  86 
  87 /**
  88 
  89  
  90 
  91  * Function returns a Java type of a given field.
  92 
  93  *
  94 
  95  * @param field - field handle
  96 
  97  *
  98 
  99  * @return Return a Java type of a given field.
 100 
 101  
 102 
 103  */
 104 
 105  
 106 
 107 Java_Type
 108 
 109 field_get_type(Field_Handle field);
 110 
 111  
 112 
 113 /**
 114 
 115  
 116 
 117  * Function returns an address of a static field.
 118 
 119  *
 120 
 121  * @param field - field handle
 122 
 123  *
 124 
 125  * @return Return an address of a static field.
 126 
 127  
 128 
 129  */
 130 
 131  
 132 
 133 void *
 134 
 135 field_get_addr(Field_Handle field);
 136 
 137  
 138 
 139 /**
 140 
 141  
 142 
 143  * Function returns the offset to an instance field.
 144 
 145  *
 146 
 147  * @param field - field handle
 148 
 149  *
 150 
 151  * @return Return the offset to an instance field.
 152 
 153  
 154 
 155  */
 156 
 157  
 158 
 159 unsigned
 160 
 161 field_get_offset(Field_Handle field);
 162 
 163  
 164 
 165 /**
 166 
 167  
 168 
 169  * Function returns the type info that represents the type of the field.
 170 
 171  *
 172 
 173  * @param field - field handle
 174 
 175  *
 176 
 177  * @return Return the type info.
 178 
 179  
 180 
 181  */
 182 
 183  
 184 
 185 Type_Info_Handle
 186 
 187 field_get_type_info_of_field_value(Field_Handle field);
 188 
 189  
 190 
 191 /**
 192 
 193  
 194 
 195  * Function returns the class that represents the type of the field.
 196 
 197  *
 198 
 199  * @param field - field handle
 200 
 201  *
 202 
 203  * @return Return the class that represents the type of the field.
 204 
 205  
 206 
 207  */
 208 
 209  
 210 
 211 Class_Handle
 212 
 213 field_get_class_of_field_value(Field_Handle field);
 214 
 215  
 216 
 217 /**
 218 
 219  
 220 
 221  * Function checks if the field is final.
 222 
 223  *
 224 
 225  * @param field - field handle
 226 
 227  *
 228 
 229  * @return Returns <code>TRUE</code> if the field is final.
 230 
 231  
 232 
 233  */
 234 
 235  
 236 
 237 Boolean
 238 
 239 field_is_final(Field_Handle field);
 240 
 241  
 242 
 243 /**
 244 
 245  
 246 
 247  * Function checks if the field is static.
 248 
 249  *
 250 
 251  * @param field - field handle
 252 
 253  *
 254 
 255  * @return Returns <code>TRUE</code> if the field is static.
 256 
 257  
 258 
 259  */
 260 
 261  
 262 
 263 Boolean
 264 
 265 field_is_static(Field_Handle field);
 266 
 267  
 268 
 269 /**
 270 
 271  
 272 
 273  * Function checks if the field is private.
 274 
 275  *
 276 
 277  * @param field - field handle
 278 
 279  *
 280 
 281  * @return Returns <code>TRUE</code> if the field is private.
 282 
 283  
 284 
 285  */
 286 
 287  
 288 
 289 Boolean
 290 
 291 field_is_private(Field_Handle field);
 292 
 293  
 294 
 295 /**
 296 
 297  
 298 
 299  * Function checks if the field is public.
 300 
 301  *
 302 
 303  * @param field - field handle
 304 
 305  *
 306 
 307  * @return Returns <code>TRUE</code> if the field is public.
 308 
 309  
 310 
 311  */
 312 
 313  
 314 
 315 Boolean
 316 
 317 field_is_public(Field_Handle field);
 318 
 319  
 320 
 321 /**
 322 
 323  
 324 
 325  * Function checks if the field is volatile.
 326 
 327  *
 328 
 329  * @param field - field handle
 330 
 331  *
 332 
 333  * @return Returns <code>TRUE</code> if the field is volatile.
 334 
 335  
 336 
 337  */
 338 
 339  
 340 
 341 Boolean
 342 
 343 field_is_volatile(Field_Handle field);
 344 
 345  
 346 
 347 /**
 348 
 349  
 350 
 351  * Function checks if the field is literal.
 352 
 353  *
 354 
 355  * @param field - field handle
 356 
 357  *
 358 
 359  * @return Returns <code>TRUE</code> if the field is literal.
 360 
 361  
 362 
 363  */
 364 
 365  
 366 
 367 Boolean
 368 
 369 field_is_literal(Field_Handle field);
 370 
 371  
 372 
 373 /**
 374 
 375  
 376 
 377  * Function checks if the field is injected.
 378 
 379  *
 380 
 381  * @param field - field handle
 382 
 383  *
 384 
 385  * @return Returns <code>TRUE</code> if the field is injected.
 386 
 387  
 388 
 389  */
 390 
 391  
 392 
 393 Boolean
 394 
 395 field_is_injected(Field_Handle field);

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.