This should probably use `typeUtils.isSameType()`. See javadoc: http://docs.oracle.com/javase/7/docs/api/javax/lang/model/type/TypeMirror.html#equals(java.lang.Object)