public final class CompilerCommons extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isContainedBy(TypeArgument a,
TypeArgument b,
GenericTypeNavigator navigator) |
static boolean |
isErasedSuperType(ValueType supertype,
ValueType subtype,
GenericTypeNavigator navigator) |
static boolean |
isLooselyCompatibleType(ValueType targetType,
ValueType sourceType,
GenericTypeNavigator navigator) |
static boolean |
isSuperType(ValueType supertype,
ValueType subtype,
GenericTypeNavigator navigator) |
static String |
methodToDesc(MethodDescriber method) |
static String |
typeToString(ValueType type) |
static void |
typeToString(ValueType type,
StringBuilder sb) |
public static void typeToString(ValueType type, StringBuilder sb)
public static String methodToDesc(MethodDescriber method)
public static boolean isSuperType(ValueType supertype, ValueType subtype, GenericTypeNavigator navigator)
public static boolean isContainedBy(TypeArgument a, TypeArgument b, GenericTypeNavigator navigator)
public static boolean isErasedSuperType(ValueType supertype, ValueType subtype, GenericTypeNavigator navigator)
public static boolean isLooselyCompatibleType(ValueType targetType, ValueType sourceType, GenericTypeNavigator navigator)
Copyright © 2019. All rights reserved.