aboutsummaryrefslogtreecommitdiff
path: root/MultiSource/Applications/hbd/field.h
blob: f9840c1b8aaed257d0509477196254c64e6eb15e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* field.h */
/*
   Java Decompiler 
   Copyright (c) 1994-2003, Pete Ryland.
   Distributed under the GNU GPL Version 2.
   This package is available from http://pdr.cx/hbd/
*/

#ifndef FIELD_H
#define FIELD_H

#include "access.h"

/* This struct contains the info for one field */
typedef struct {
  /* The access flags for this field */
  AccessFlags access_flags;

  /* The name of this field.
     Resolved from the constant pool */
  char *name;

  /* The signature of this field.
     Also, resolved from the constant pool */
  char *sig;

  /* 1 if this is a constant */
  int isconstant;

  /* If it is a constant, its index to the constant pool */
  u16 constval_index;
} field_info, *field_info_ptr;

#endif