@Override
    public String toString() {
      return "annotated with @" + annotation.getSimpleName();
    }
Returns true if the type is annotated with the class provided to the constructor.
src/main/java/org/apache/ibatis/io/ResolverUtil.java