Top Description Inners Fields Constructors Methods
org.easymock.bytebuddy.implementation.bytecode.assign.reference

public final Enum GenericTypeAwareAssigner

extends Enum<GenericTypeAwareAssigner>
implements Assigner
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.bytecode.assign.Assigner
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, org.easymock.bytebuddy.build.HashCodeAndEqualsPlugin, org.easymock.bytebuddy.description.type.TypeDescription, .TypeList, org.easymock.bytebuddy.implementation.bytecode.StackManipulation, org.easymock.bytebuddy.implementation.bytecode.assign.Assigner, .TypeCasting, org.easymock.bytebuddy.utility.QueueFactory, java.util.*

An assigner implementation that considers generic type assignability.

Important Note

This implementation does not currently support method variables and their type inference.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor

A visitor for generic types that determines assignability of such types.

Field Summary

Modifier and TypeField and Description
public static final GenericTypeAwareAssigner
INSTANCE

The singleton instance.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public StackManipulation
assign(TypeDescription.Generic
The original type that is to be transformed into the targetType.
source
,
TypeDescription.Generic
The target type into which the sourceType is to be converted.
target
,
Assigner.Typing
A hint whether the assignment should consider the runtime type of the source type, i.e. if type down or cross castings are allowed. If this hint is set, this is also an indication that void to non-void assignments are permitted.
typing
)

Implements org.easymock.bytebuddy.implementation.bytecode.assign.Assigner.assign.

public static GenericTypeAwareAssigner
public static GenericTypeAwareAssigner[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf