public enum UsageTarget extends Enum<UsageTarget>
| Enum Constant and Description |
|---|
AllTarget |
ConstructorTarget |
MethodTarget |
ParameterTarget |
PropertyTarget |
TypeTarget |
| Modifier and Type | Method and Description |
|---|---|
static UsageTarget |
convert(ElementType elementType) |
static UsageTarget |
getForFeature(IFeatureInfo fi) |
static UsageTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageTarget AllTarget
public static final UsageTarget TypeTarget
public static final UsageTarget ConstructorTarget
public static final UsageTarget PropertyTarget
public static final UsageTarget MethodTarget
public static final UsageTarget ParameterTarget
public static UsageTarget[] values()
for (UsageTarget c : UsageTarget.values()) System.out.println(c);
public static UsageTarget 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 UsageTarget convert(ElementType elementType)
public static UsageTarget getForFeature(IFeatureInfo fi)
Copyright © 2022. All rights reserved.