org.springframework.core.convert.TypeDescriptor#hasAnnotation ( )源码实例Demo

下面列出了org.springframework.core.convert.TypeDescriptor#hasAnnotation ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return sourceType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return targetType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return sourceType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return targetType.hasAnnotation(this.annotationType);
}
 
源代码5 项目: lams   文件: FormattingConversionService.java
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return sourceType.hasAnnotation(this.annotationType);
}
 
源代码6 项目: lams   文件: FormattingConversionService.java
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return targetType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return sourceType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return targetType.hasAnnotation(this.annotationType);
}
 
@Override
public boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType) {
	return targetType.hasAnnotation(SupportsShorthands.class);
}