public abstract class AbsDocVO extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,AnnotationDocVO> |
annotations
注解
key 注解的类名
|
protected String |
classInfo
类名(带泛型)
|
protected String |
className
类名
|
protected String |
comment
注释 带换行符的
|
protected Map<String,String> |
tags
注释标签
例如 @ param
|
| 构造器和说明 |
|---|
AbsDocVO() |
| 限定符和类型 | 方法和说明 |
|---|---|
AnnotationDocVO |
getAnnotation(String annotationClassName) |
Map<String,AnnotationDocVO> |
getAnnotations() |
String |
getAnnotationValue(String annotationClassName,
String key) |
String[] |
getAnnotationValues(String annotationClassName,
String key) |
String |
getClassInfo() |
String |
getClassName() |
String |
getComment() |
int |
getModifierSpecifier() |
String |
getTag(String tagKey) |
Map<String,String> |
getTags() |
boolean |
hasAnnotation(String annotationClassName) |
void |
setAnnotations(Map<String,AnnotationDocVO> annotations) |
void |
setClassInfo(String classInfo) |
void |
setClassName(String className) |
void |
setComment(String comment) |
void |
setModifierSpecifier(int modifierSpecifier) |
void |
setTags(Map<String,String> tags) |
protected String className
protected String classInfo
protected Map<String,AnnotationDocVO> annotations
protected String comment
public String getClassName()
public void setClassName(String className)
public String getClassInfo()
public void setClassInfo(String classInfo)
public Map<String,AnnotationDocVO> getAnnotations()
public void setAnnotations(Map<String,AnnotationDocVO> annotations)
public boolean hasAnnotation(String annotationClassName)
public AnnotationDocVO getAnnotation(String annotationClassName)
public String getComment()
public void setComment(String comment)
public int getModifierSpecifier()
public void setModifierSpecifier(int modifierSpecifier)
Copyright © 2020. All rights reserved.