T - the generic typepublic class DefaultAnnotationToStringBuilder<T extends Annotation> extends Object implements AnnotationToStringBuilder<T>
AnnotationUtils.toString(Annotation).
16:26:30 INFO (ContextRefreshedEventClientCacheListener.java:123) onApplicationEvent() - url And ClientCache info: {
"/clientcache": "@com.feilong.spring.web.servlet.interceptor.clientcache.ClientCache(value=20)",
"/item/{itemid}": "@com.feilong.spring.web.servlet.interceptor.clientcache.ClientCache(value=300)",
"/noclientcache": "@com.feilong.spring.web.servlet.interceptor.clientcache.ClientCache(value=0)"
}
AnnotationUtils.toString(Annotation)| Modifier and Type | Field and Description |
|---|---|
static DefaultAnnotationToStringBuilder |
DEFAULT_ANNOTATION_TO_STRING_BUILDER
Static instance.
|
| Constructor and Description |
|---|
DefaultAnnotationToStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
String |
build(T annotation)
将制定的
Annotation 转成 String. |
static <T extends Annotation> |
instance()
Instance.
|
public static final DefaultAnnotationToStringBuilder DEFAULT_ANNOTATION_TO_STRING_BUILDER
public String build(T annotation)
AnnotationToStringBuilderAnnotation 转成 String.build in interface AnnotationToStringBuilder<T extends Annotation>annotation - the annotationannotation 是null,返回 StringUtils.EMPTYpublic static final <T extends Annotation> DefaultAnnotationToStringBuilder<T> instance()
T - the generic typeCopyright © 2008-2019 by feilong