| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static enum | SubclassImplementationTarget.
Responsible for identifying the origin type that an implementation target represents when
|
| Modifier and Type | Field and Description |
|---|---|
| protected final SubclassImplementationTarget. | originTypeResolver
The origin type identifier to use. |
| Access | Constructor and Description |
|---|---|
| protected | SubclassImplementationTarget(TypeDescription
The instrumented type. instrumentedType, MethodGraph.A method graph of the instrumented type. methodGraph,The default method invocation mode to apply. defaultMethodInvocation,A resolver for the origin type. originTypeResolverCreates a new subclass implementation target. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeDefinition | getOriginType()
Implements org. |
| private Implementation. | Returns: A special method invocation for a constructor representing the given method token, if available.A token describing the constructor to be invoked. tokenResolves a special method invocation for a constructor invocation. |
| private Implementation. | Returns: A special method invocation for a method representing the given method token, if available.A token describing the method to be invoked. tokenResolves a special method invocation for a non-constructor invocation. |
| public Implementation. | invokeSuper(MethodDescription.
A token of the method that is to be invoked as a super method. tokenImplements org. |
| originTypeResolver | back to summary |
|---|---|
| protected final SubclassImplementationTarget. The origin type identifier to use. | |
| SubclassImplementationTarget | back to summary |
|---|---|
| protected SubclassImplementationTarget(TypeDescription instrumentedType, MethodGraph. Creates a new subclass implementation target.
| |
| getOriginType | back to summary |
|---|---|
| public TypeDefinition getOriginType() Implements org. Doc from org. Identifies the origin type of an implementation. The origin type describes the type that is subject to any form of enhancement. If a subclass of a given type is generated, the base type of this subclass describes the origin type. If a given type is redefined or rebased, the origin type is described by the instrumented type itself.
| |
| invokeConstructor | back to summary |
|---|---|
| private Implementation. Resolves a special method invocation for a constructor invocation.
| |
| invokeMethod | back to summary |
|---|---|
| private Implementation. Resolves a special method invocation for a non-constructor invocation.
| |
| invokeSuper | back to summary |
|---|---|
| public Implementation. Implements org. Doc from org. Creates a special method invocation for invoking the super method of the given method.
| |
org.easymock.bytebuddy.dynamic.scaffold.subclass.SubclassImplementationTarget .
| Modifier and Type | Field and Description |
|---|---|
| public static final SubclassImplementationTarget. | LEVEL_TYPE
A factory creating a subclass implementation target with a |
| private final SubclassImplementationTarget. | originTypeResolver
The origin type resolver that this factory hands to the created |
| public static final SubclassImplementationTarget. | SUPER_CLASS
A factory creating a subclass implementation target with a |
| Access | Constructor and Description |
|---|---|
| private | Factory(SubclassImplementationTarget.
The origin type resolver that this factory hands to the created originTypeResolverSubclassImplementationTarget.Creates a new factory. |
| Modifier and Type | Method and Description |
|---|---|
| public Implementation. | make(TypeDescription
The instrumented type. instrumentedType, MethodGraph.A method graph of the instrumented type. methodGraph,The type's class file version. classFileVersion)Implements org. |
| public static SubclassImplementationTarget. | |
| public static SubclassImplementationTarget. |
| LEVEL_TYPE | back to summary |
|---|---|
| public static final SubclassImplementationTarget. A factory creating a subclass implementation target with a | |
| originTypeResolver | back to summary |
|---|---|
| private final SubclassImplementationTarget. The origin type resolver that this factory hands to the created | |
| SUPER_CLASS | back to summary |
|---|---|
| public static final SubclassImplementationTarget. A factory creating a subclass implementation target with a | |
| Factory | back to summary |
|---|---|
| private Factory(SubclassImplementationTarget. Creates a new factory.
| |
| make | back to summary |
|---|---|
| public Implementation. Implements org. Doc from org. Creates an implementation target.
| |
| valueOf | back to summary |
|---|---|
| public static SubclassImplementationTarget. | |
| values | back to summary |
|---|---|
| public static SubclassImplementationTarget. | |
Implementation.Target#getOriginType() is invoked.
| Modifier and Type | Field and Description |
|---|---|
| public static final SubclassImplementationTarget. | LEVEL_TYPE
Identifies the instrumented type as its own origin type. |
| public static final SubclassImplementationTarget. | SUPER_CLASS
Identifies the super type of an instrumented type as the origin class. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract TypeDefinition | Returns: The origin type to the given type description.The type description for which an origin type should be identified. typeDescription)Identifies the origin type to a given type description. |
| public static SubclassImplementationTarget. | |
| public static SubclassImplementationTarget. |
| LEVEL_TYPE | back to summary |
|---|---|
| public static final SubclassImplementationTarget. Identifies the instrumented type as its own origin type. | |
| SUPER_CLASS | back to summary |
|---|---|
| public static final SubclassImplementationTarget. Identifies the super type of an instrumented type as the origin class. | |
| OriginTypeResolver | back to summary |
|---|---|
| private OriginTypeResolver() | |
| identify | back to summary |
|---|---|
| protected abstract TypeDefinition identify(TypeDescription typeDescription) Identifies the origin type to a given type description.
| |
| valueOf | back to summary |
|---|---|
| public static SubclassImplementationTarget. | |
| values | back to summary |
|---|---|
| public static SubclassImplementationTarget. | |