public enum UsageModifier extends Enum<UsageModifier>
| Enum Constant and Description |
|---|
Many
Use None to specify this annotation can appear many times on a class
|
None
Use None to specify this annotation cannot exist on a class
|
One
Use None to specify this annotation can only appear once on a class
|
| Modifier and Type | Method and Description |
|---|---|
static UsageModifier |
getUsageModifier(UsageTarget targetType,
IType annotationType) |
static UsageModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageModifier None
public static final UsageModifier One
public static final UsageModifier Many
public static UsageModifier[] values()
for (UsageModifier c : UsageModifier.values()) System.out.println(c);
public static UsageModifier 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 UsageModifier getUsageModifier(UsageTarget targetType, IType annotationType)
Copyright © 2015. All rights reserved.