public static enum SubclassImplementationTarget.OriginTypeIdentifier extends Enum<SubclassImplementationTarget.OriginTypeIdentifier>
Implementation.Target#getOriginType()
is invoked.Enum Constant and Description |
---|
LEVEL_TYPE
Identifies the instrumented type as its own origin type.
|
SUPER_TYPE
Identifies the super type of an instrumented type as the origin type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract TypeDescription |
identify(TypeDescription typeDescription)
Identifies the origin type to a given type description.
|
String |
toString() |
static SubclassImplementationTarget.OriginTypeIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubclassImplementationTarget.OriginTypeIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubclassImplementationTarget.OriginTypeIdentifier SUPER_TYPE
public static final SubclassImplementationTarget.OriginTypeIdentifier LEVEL_TYPE
public static SubclassImplementationTarget.OriginTypeIdentifier[] values()
for (SubclassImplementationTarget.OriginTypeIdentifier c : SubclassImplementationTarget.OriginTypeIdentifier.values()) System.out.println(c);
public static SubclassImplementationTarget.OriginTypeIdentifier 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 nullprotected abstract TypeDescription identify(TypeDescription typeDescription)
typeDescription
- The type description for which an origin type should be identified.public String toString()
toString
in class Enum<SubclassImplementationTarget.OriginTypeIdentifier>
Copyright © 2014–2015. All rights reserved.