List of usage examples for org.springframework.core.convert TypeDescriptor hasAnnotation
public boolean hasAnnotation(Class<? extends Annotation> annotationType)
From source file:ru.mystamps.web.controller.converter.LinkEntityDtoGenericConverter.java
private static boolean hasCategoryAnnotation(TypeDescriptor type) { return type.hasAnnotation(Category.class); }
From source file:ru.mystamps.web.controller.converter.LinkEntityDtoGenericConverter.java
private static boolean hasCountryAnnotation(TypeDescriptor type) { return type.hasAnnotation(Country.class); }