public static enum Super.Binder.TypeLocator.ForInstrumentedType extends Enum<Super.Binder.TypeLocator.ForInstrumentedType> implements Super.Binder.TypeLocator
Super.Binder.TypeLocator.ForInstrumentedType, Super.Binder.TypeLocator.ForParameterType, Super.Binder.TypeLocator.ForType
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription |
resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType)
Resolves the target type.
|
static Super.Binder.TypeLocator.ForInstrumentedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Super.Binder.TypeLocator.ForInstrumentedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Super.Binder.TypeLocator.ForInstrumentedType INSTANCE
public static Super.Binder.TypeLocator.ForInstrumentedType[] values()
for (Super.Binder.TypeLocator.ForInstrumentedType c : Super.Binder.TypeLocator.ForInstrumentedType.values()) System.out.println(c);
public static Super.Binder.TypeLocator.ForInstrumentedType 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 TypeDescription resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType)
resolve
in interface Super.Binder.TypeLocator
instrumentedType
- The instrumented type.parameterType
- The type of the target parameter.Copyright © 2014–2023. All rights reserved.