public class TypeUtilsJDK6Fix
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSubType(javax.lang.model.util.Types types,
javax.lang.model.type.TypeMirror t1,
javax.lang.model.type.TypeMirror t2)
Tests whether one type is a subtype of another.
|
public static boolean isSubType(javax.lang.model.util.Types types,
javax.lang.model.type.TypeMirror t1,
javax.lang.model.type.TypeMirror t2)
types - the type utilst1 - the first typet2 - the second typetrue if and only if the first type is a subtype
of the secondjava.lang.IllegalArgumentException - if given an executable or package typeCopyright © 2012-2014. All Rights Reserved.