summaryrefslogtreecommitdiff
path: root/src/fjbg/ch/epfl/lamp/fjbg/JAccessFlags.java
blob: d254acbdc189963acf56d924423bfe7d44e28892 (plain) (blame)
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
35
36
/* FJBG -- Fast Java Bytecode Generator
 * Copyright 2002-2011 LAMP/EPFL
 * @author  Michel Schinz
 */

package ch.epfl.lamp.fjbg;

/**
 * Definition of access flags for fields, methods and classes.
 *
 * @author Michel Schinz
 * @version 1.0
 */

public interface JAccessFlags {
    public static int ACC_PUBLIC    = 0x0001;
    public static int ACC_PRIVATE   = 0x0002;
    public static int ACC_PROTECTED = 0x0004;
    public static int ACC_STATIC    = 0x0008;
    public static int ACC_FINAL     = 0x0010;
    public static int ACC_SUPER     = 0x0020;
    public static int ACC_SYNCHRONIZED = 0x0020;
    public static int ACC_VOLATILE  = 0x0040;
    public static int ACC_TRANSIENT = 0x0080;
    public static int ACC_NATIVE    = 0x0100;
    public static int ACC_INTERFACE = 0x0200;
    public static int ACC_ABSTRACT  = 0x0400;
    public static int ACC_STRICT    = 0x0800;
    public static int ACC_SYNTHETIC = 0x1000;
    public static int ACC_ANNOTATION= 0x2000;
    public static int ACC_ENUM      = 0x4000;

    // 1.5 specifics
    public static int ACC_BRIDGE    = 0x0040;
    public static int ACC_VARARGS   = 0x0080;
}