JVM
cp_info Struct Reference

#include <constantpool.h>

Public Attributes

uint8_t tag
 
union {
   struct {
      uint16_t   name_index
 
   }   Class
 
   struct {
      uint16_t   string_index
 
   }   String
 
   struct {
      uint16_t   class_index
 
      uint16_t   name_and_type_index
 
   }   Fieldref
 
   struct {
      uint16_t   class_index
 
      uint16_t   name_and_type_index
 
   }   Methodref
 
   struct {
      uint16_t   class_index
 
      uint16_t   name_and_type_index
 
   }   InterfaceMethodref
 
   struct {
      uint16_t   name_index
 
      uint16_t   descriptor_index
 
   }   NameAndType
 
   struct {
      uint32_t   value
 
   }   Integer
 
   struct {
      uint32_t   bytes
 
   }   Float
 
   struct {
      uint32_t   high
 
      uint32_t   low
 
   }   Long
 
   struct {
      uint32_t   high
 
      uint32_t   low
 
   }   Double
 
   struct {
      uint16_t   length
 
      uint8_t *   bytes
 
   }   Utf8
 
}; 
 

Member Data Documentation

§ @1

union { ... }

§ bytes [1/2]

uint32_t cp_info::bytes

§ bytes [2/2]

uint8_t* cp_info::bytes

§ Class

struct { ... } cp_info::Class

§ class_index

uint16_t cp_info::class_index

§ descriptor_index

uint16_t cp_info::descriptor_index

§ Double

struct { ... } cp_info::Double

§ Fieldref

struct { ... } cp_info::Fieldref

§ Float

struct { ... } cp_info::Float

§ high

uint32_t cp_info::high

§ Integer

struct { ... } cp_info::Integer

§ InterfaceMethodref

struct { ... } cp_info::InterfaceMethodref

§ length

uint16_t cp_info::length

§ Long

struct { ... } cp_info::Long

§ low

uint32_t cp_info::low

§ Methodref

struct { ... } cp_info::Methodref

§ name_and_type_index

uint16_t cp_info::name_and_type_index

§ name_index

uint16_t cp_info::name_index

§ NameAndType

struct { ... } cp_info::NameAndType

§ String

struct { ... } cp_info::String

§ string_index

uint16_t cp_info::string_index

§ tag

uint8_t cp_info::tag

§ Utf8

struct { ... } cp_info::Utf8

§ value

uint32_t cp_info::value

The documentation for this struct was generated from the following file: