| Modifier and Type | Field and Description |
|---|---|
| public static final ModifiersPattern | |
| private int | |
| private static Map | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public static int | |
| public int | |
| public boolean | |
| public static ModifiersPattern | |
| public String | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| ANY | back to summary |
|---|---|
| public static final ModifiersPattern ANY | |
| forbiddenModifiers | back to summary |
|---|---|
| private int forbiddenModifiers | |
| modifierFlags | back to summary |
|---|---|
| private static Map<String, Integer> modifierFlags | |
| requiredModifiers | back to summary |
|---|---|
| private int requiredModifiers | |
| ModifiersPattern | back to summary |
|---|---|
| public ModifiersPattern(int requiredModifiers, int forbiddenModifiers) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getModifierFlag | back to summary |
|---|---|
| public static int getModifierFlag(String name) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| matches | back to summary |
|---|---|
| public boolean matches(int modifiers) | |
| read | back to summary |
|---|---|
| public static ModifiersPattern read(VersionedDataInputStream s) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |