Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcvm:6.13.4_type_descriptor_info

6.13.4 type_descriptor_info

The type_descriptor_info structure represents the types of fields and signatures of methods defined in this package:

The type_descriptor_info structure contains the following elements:

constant_pool_count

The constant_pool_count item represents the number of entries in the constant_pool_types array. This value is equal to the number of entries in the constant_pool array of the Constant Pool Component ( Section 6.7, Constant Pool Component).

constant_pool_types[]

The constant_pool_types item is an array that describes the types of the fields and methods referenced in the Constant Pool Component. This item has the same number of entries as the constant_pool[] array of the Constant Pool Component, and each entry describes the type of the corresponding entry in the constant_pool[] array.

If the corresponding constant_pool[] array entry represents a class or interface reference, it does not have an associated type. In this case the value of the entry in the constant_pool_types array item is 0xFFFF.

If the corresponding constant_pool[] array entry represents a field or method, the value of the entry in the constant_pool_types array is an offset into the type_descriptor_info structure. The element at that offset must describe the type of the field or the signature of the method.

type_desc[]

The type_desc item represents a table of variable-length type_descriptor structures. These descriptors represent the types of fields and signatures of methods. For a description of the type_descriptor structure, see Section 6.8.1, **type_desc**riptor.

javacard/jcvm/6.13.4_type_descriptor_info.txt · Last modified: 2017/05/13 04:10 (external edit)