Package com._1c.g5.v8.dt.bsl.core
Enum IMethod.Annotation
- java.lang.Object
-
- java.lang.Enum<IMethod.Annotation>
-
- com._1c.g5.v8.dt.bsl.core.IMethod.Annotation
-
- All Implemented Interfaces:
Serializable
,Comparable<IMethod.Annotation>
- Enclosing interface:
- IMethod
public static enum IMethod.Annotation extends Enum<IMethod.Annotation>
Special enumeration for method annotation symbols
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
AROUND
BEFORE
CHANGE_AND_VALIDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMethod.Annotation
valueOf(String name)
Returns the enum constant of this type with the specified name.static IMethod.Annotation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final IMethod.Annotation BEFORE
-
AROUND
public static final IMethod.Annotation AROUND
-
AFTER
public static final IMethod.Annotation AFTER
-
CHANGE_AND_VALIDATE
public static final IMethod.Annotation CHANGE_AND_VALIDATE
-
-
Method Detail
-
values
public static IMethod.Annotation[] 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 (IMethod.Annotation c : IMethod.Annotation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMethod.Annotation valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-