public interface ConstructorStrategy
SubclassDynamicTypeBuilder.ConstructorStrategy.Default| Modifier and Type | Interface and Description |
|---|---|
static class |
ConstructorStrategy.Default
Default implementations of constructor strategies.
|
| Modifier and Type | Method and Description |
|---|---|
List<MethodDescription.Token> |
extractConstructors(TypeDescription instrumentedType)
Extracts constructors for a given super type.
|
MethodRegistry |
inject(MethodRegistry methodRegistry)
Returns a method registry that is capable of creating byte code for the constructors that were
provided by the
extractConstructors(TypeDescription)
method of this instance. |
List<MethodDescription.Token> extractConstructors(TypeDescription instrumentedType)
instrumentedType - The type for which the constructors should be created.MethodRegistry inject(MethodRegistry methodRegistry)
extractConstructors(TypeDescription)
method of this instance.methodRegistry - The original method registry.Copyright © 2014–2016. All rights reserved.