public static enum OperationSignature.Role extends Enum<OperationSignature.Role>
Enum Constant and Description |
---|
CONSTRUCTOR |
GETTER_OR_SETTER |
METHOD |
STATIC |
Modifier and Type | Method and Description |
---|---|
static OperationSignature.Role |
get(ASTMethodOrConstructorDeclaration node) |
static OperationSignature.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationSignature.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationSignature.Role GETTER_OR_SETTER
public static final OperationSignature.Role CONSTRUCTOR
public static final OperationSignature.Role METHOD
public static final OperationSignature.Role STATIC
public static OperationSignature.Role[] values()
for (OperationSignature.Role c : OperationSignature.Role.values()) System.out.println(c);
public static OperationSignature.Role 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 nullpublic static OperationSignature.Role get(ASTMethodOrConstructorDeclaration node)
Copyright © 2002–2017 PMD. All rights reserved.