Package edu.umd.cs.findbugs.classfile
Enum Class ICodeBase.Discovered
- All Implemented Interfaces:
Serializable
,Comparable<ICodeBase.Discovered>
,Constable
- Enclosing interface:
- ICodeBase
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCodebase was referenced in the Class-Path attribute of a Jar manifest of another codebase.Codebase was discovered in the system classpath.Codebase was discovered as a nested archive in another codebase.Codebase was explicitly specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ICodeBase.Discovered
Returns the enum constant of this class with the specified name.static ICodeBase.Discovered[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPECIFIED
Codebase was explicitly specified. -
NESTED
Codebase was discovered as a nested archive in another codebase. -
IN_JAR_MANIFEST
Codebase was referenced in the Class-Path attribute of a Jar manifest of another codebase. -
IN_SYSTEM_CLASSPATH
Codebase was discovered in the system classpath.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-