public final class TypeHelper
extends java.lang.Object
Type.| Modifier and Type | Method and Description |
|---|---|
static boolean |
isInstanceOf(com.xebialabs.deployit.plugin.api.reflect.Type baseType,
com.xebialabs.deployit.plugin.api.reflect.Type superType)
Check if the
baseType is an instance of the provided superType |
public static boolean isInstanceOf(com.xebialabs.deployit.plugin.api.reflect.Type baseType,
com.xebialabs.deployit.plugin.api.reflect.Type superType)
baseType is an instance of the provided superTypebaseType - Base type to validate.superType - Expected super type.baseType is a subtype or the same type as superType, FALSE otherwise.