public enum SourceCodeEdgeUsage extends Enum<SourceCodeEdgeUsage>
Enum Constant and Description |
---|
CALLS_FIELD |
CALLS_METHOD |
CONTAINS
Example: class A declares a field of type B
|
EXTENDS
Example: class A extends class B
|
IMPLEMENTS
Example: class A implements an interface B
|
NO_LINK
Unknown type
|
USES
Examples:
method A returns an object of type B
method A declares a parameter of type B
method A throws an exception of type B
method A catch an exception of type B
|
Modifier and Type | Method and Description |
---|---|
static SourceCodeEdgeUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceCodeEdgeUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceCodeEdgeUsage EXTENDS
public static final SourceCodeEdgeUsage IMPLEMENTS
public static final SourceCodeEdgeUsage USES
public static final SourceCodeEdgeUsage CALLS_FIELD
public static final SourceCodeEdgeUsage CALLS_METHOD
public static final SourceCodeEdgeUsage CONTAINS
public static final SourceCodeEdgeUsage NO_LINK
public static SourceCodeEdgeUsage[] values()
for (SourceCodeEdgeUsage c : SourceCodeEdgeUsage.values()) System.out.println(c);
public static SourceCodeEdgeUsage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009-2012 SonarSource. All Rights Reserved.