public class MethodAccessFlagSet extends Object
MutableMethodAccessFlagSet| Constructor and Description |
|---|
MethodAccessFlagSet(int value)
Creates a new MethodAccessFlagSet that has the given value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(MethodAccessFlag flag) |
boolean |
contains(MethodAccessFlag flag)
Returns true if the flag is contained in this set.
|
String |
getName()
Returns the string used to represent the flags in a Java source file.
|
int |
getValue()
Returns the value used to represent the MethodAccessFlagSet in a Java class file.
|
static void |
main(String[] args)
Tests MethodAccessFlagSet.
|
void |
remove(MethodAccessFlag flag) |
protected void |
setValue(int value)
Sets the value of this set.
|
String |
toString() |
public MethodAccessFlagSet(int value)
value - the set valuepublic boolean contains(MethodAccessFlag flag)
flag - the flag to check forpublic String getName()
public void add(MethodAccessFlag flag)
public void remove(MethodAccessFlag flag)
public int getValue()
protected void setValue(int value)
value - the set valuepublic static void main(String[] args)
args - the command-line argumentCopyright © 2012. All Rights Reserved.