Enum ResultUsePolicyEvaluator.MethodInfo.MethodKind
- java.lang.Object
-
- java.lang.Enum<ResultUsePolicyEvaluator.MethodInfo.MethodKind>
-
- com.google.errorprone.bugpatterns.checkreturnvalue.ResultUsePolicyEvaluator.MethodInfo.MethodKind
-
- All Implemented Interfaces:
Serializable
,Comparable<ResultUsePolicyEvaluator.MethodInfo.MethodKind>
- Enclosing interface:
- ResultUsePolicyEvaluator.MethodInfo<C,S,M extends S>
public static enum ResultUsePolicyEvaluator.MethodInfo.MethodKind extends Enum<ResultUsePolicyEvaluator.MethodInfo.MethodKind>
What kind a method symbol is, and what scopes apply to it.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTOR
A constructor.METHOD
An actual method, not a constructor.OTHER
Neither a method nor a constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultUsePolicyEvaluator.MethodInfo.MethodKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResultUsePolicyEvaluator.MethodInfo.MethodKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHOD
public static final ResultUsePolicyEvaluator.MethodInfo.MethodKind METHOD
An actual method, not a constructor.
-
CONSTRUCTOR
public static final ResultUsePolicyEvaluator.MethodInfo.MethodKind CONSTRUCTOR
A constructor.
-
OTHER
public static final ResultUsePolicyEvaluator.MethodInfo.MethodKind OTHER
Neither a method nor a constructor.
-
-
Method Detail
-
values
public static ResultUsePolicyEvaluator.MethodInfo.MethodKind[] 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 (ResultUsePolicyEvaluator.MethodInfo.MethodKind c : ResultUsePolicyEvaluator.MethodInfo.MethodKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultUsePolicyEvaluator.MethodInfo.MethodKind 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
-
-