Package com.mebigfatguy.fbcontrib.detect
Enum UseCharacterParameterizedMethod.UCPMUserValue
- java.lang.Object
-
- java.lang.Enum<UseCharacterParameterizedMethod.UCPMUserValue>
-
- com.mebigfatguy.fbcontrib.detect.UseCharacterParameterizedMethod.UCPMUserValue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UseCharacterParameterizedMethod.UCPMUserValue>
- Enclosing class:
- UseCharacterParameterizedMethod
static enum UseCharacterParameterizedMethod.UCPMUserValue extends java.lang.Enum<UseCharacterParameterizedMethod.UCPMUserValue>
holds a user value for a StringBuilder or StringBuffer on the stack that is an online append ideally there would be an UNKNOWN option, rather than null, but findbugs seems to have a nasty bug with static fields holding onto uservalues across detectors
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INLINE
-
Constructor Summary
Constructors Modifier Constructor Description private
UCPMUserValue()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UseCharacterParameterizedMethod.UCPMUserValue
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UseCharacterParameterizedMethod.UCPMUserValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INLINE
public static final UseCharacterParameterizedMethod.UCPMUserValue INLINE
-
-
Method Detail
-
values
public static UseCharacterParameterizedMethod.UCPMUserValue[] 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 (UseCharacterParameterizedMethod.UCPMUserValue c : UseCharacterParameterizedMethod.UCPMUserValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UseCharacterParameterizedMethod.UCPMUserValue 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
-
-