@Override
    public boolean matches(Class<?> type) {
      return type != null && parent.isAssignableFrom(type);
    }
Returns true if type is assignable to the parent type supplied in the constructor.
src/main/java/org/apache/ibatis/io/ResolverUtil.java