Package com.yworks.common.ant
Enum PatternMatchedSection.Access
- java.lang.Object
-
- java.lang.Enum<PatternMatchedSection.Access>
-
- com.yworks.common.ant.PatternMatchedSection.Access
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PatternMatchedSection.Access>
- Enclosing class:
- PatternMatchedSection
public static enum PatternMatchedSection.Access extends java.lang.Enum<PatternMatchedSection.Access>
The enum Access.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAccessLevel(int asmAccess)Is access level boolean.booleanisAccessLevel(PatternMatchedSection.Access level)Is access level boolean.static PatternMatchedSection.AccessvalueOf(int asmAccess)Value of access.static PatternMatchedSection.AccessvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PatternMatchedSection.Access[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final PatternMatchedSection.Access PUBLIC
Public access.
-
PROTECTED
public static final PatternMatchedSection.Access PROTECTED
Protected access.
-
FRIENDLY
public static final PatternMatchedSection.Access FRIENDLY
Friendly access.
-
PRIVATE
public static final PatternMatchedSection.Access PRIVATE
Private access.
-
NONE
public static final PatternMatchedSection.Access NONE
None access.
-
-
Method Detail
-
values
public static PatternMatchedSection.Access[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PatternMatchedSection.Access c : PatternMatchedSection.Access.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatternMatchedSection.Access valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isAccessLevel
public boolean isAccessLevel(PatternMatchedSection.Access level)
Is access level boolean.- Parameters:
level- the level- Returns:
- the boolean
-
isAccessLevel
public boolean isAccessLevel(int asmAccess)
Is access level boolean.- Parameters:
asmAccess- the asm access- Returns:
- the boolean
-
valueOf
public static PatternMatchedSection.Access valueOf(int asmAccess)
Value of access.- Parameters:
asmAccess- the asm access- Returns:
- the access
-
-