java.io.Serializable, java.lang.Comparable<JavaOperationSignature.Role>public static enum JavaOperationSignature.Role extends java.lang.Enum<JavaOperationSignature.Role>
| Enum Constant | Description |
|---|---|
CONSTRUCTOR |
|
GETTER_OR_SETTER |
|
METHOD |
|
STATIC |
| Modifier and Type | Method | Description |
|---|---|---|
static JavaOperationSignature.Role |
get(ASTMethodOrConstructorDeclaration node) |
|
static JavaOperationSignature.Role |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static JavaOperationSignature.Role[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaOperationSignature.Role GETTER_OR_SETTER
public static final JavaOperationSignature.Role CONSTRUCTOR
public static final JavaOperationSignature.Role METHOD
public static final JavaOperationSignature.Role STATIC
public static JavaOperationSignature.Role[] values()
for (JavaOperationSignature.Role c : JavaOperationSignature.Role.values()) System.out.println(c);
public static JavaOperationSignature.Role valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static JavaOperationSignature.Role get(ASTMethodOrConstructorDeclaration node)
Copyright © 2002–2018 PMD. All rights reserved.