public final class Merger
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossiblyAssignableFrom(TypeBearer supertypeBearer,
TypeBearer subtypeBearer)
Returns whether the given supertype is possibly assignable from
the given subtype.
|
static OneLocalsArray |
mergeLocals(OneLocalsArray locals1,
OneLocalsArray locals2)
Merges two locals arrays.
|
static ExecutionStack |
mergeStack(ExecutionStack stack1,
ExecutionStack stack2)
Merges two stacks.
|
static TypeBearer |
mergeType(TypeBearer ft1,
TypeBearer ft2)
Merges two frame types.
|
public static OneLocalsArray mergeLocals(OneLocalsArray locals1, OneLocalsArray locals2)
locals1 - non-null; a locals arraylocals2 - non-null; another locals arraynon-null; the result of merging the two locals arrayspublic static ExecutionStack mergeStack(ExecutionStack stack1, ExecutionStack stack2)
stack1 - non-null; a stackstack2 - non-null; another stacknon-null; the result of merging the two stackspublic static TypeBearer mergeType(TypeBearer ft1, TypeBearer ft2)
ft1 - non-null; a frame typeft2 - non-null; another frame typenon-null; the result of merging the two typespublic static boolean isPossiblyAssignableFrom(TypeBearer supertypeBearer, TypeBearer subtypeBearer)
Object is the supertype of all reference
types and all arrays are assignable to
Serializable and Cloneable.supertypeBearer - non-null; the supertypesubtypeBearer - non-null; the subtypeCopyright © 2020. All Rights Reserved.