1 /*
2 * Hibernate Validator, declare and validate application constraints
3 *
4 * License: Apache License, Version 2.0
5 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
6 */
7 package org.hibernate.validator.internal.util;
8
9 import com.fasterxml.classmate.TypeResolver;
10
11 /**
12 * Provides access to a shared instance of ClassMate's {@link TypeResolver}.
13 *
14 * @author Gunnar Morling
15 */
16 public class TypeResolutionHelper {
17
18 private final TypeResolver typeResolver;
19
20 public TypeResolutionHelper() {
21 typeResolver = new TypeResolver();
22 }
23
24 /**
25 * @return the typeResolver
26 */
27 public TypeResolver getTypeResolver() {
28 return typeResolver;
29 }
30 }
31