public interface JavadocProvider
Modifier and Type | Method and Description |
---|---|
String |
getClassJavadoc(Class<?> cl)
Gets class description.
|
String |
getFieldJavadoc(Field field)
Gets field javadoc.
|
String |
getFirstSentence(String text)
Returns the first sentence of a javadoc comment.
|
String |
getMethodJavadocDescription(Method method)
Gets method description.
|
String |
getMethodJavadocReturn(Method method)
Gets method javadoc return.
|
Map<String,String> |
getMethodJavadocThrows(Method method)
Gets method throws declaration.
|
String |
getParamJavadoc(Method method,
String name)
Gets param javadoc.
|
Map<String,String> |
getRecordClassParamJavadoc(Class<?> cl)
Gets param descripton of record class.
|
String getClassJavadoc(Class<?> cl)
cl
- the classMap<String,String> getRecordClassParamJavadoc(Class<?> cl)
cl
- the classString getMethodJavadocDescription(Method method)
method
- the methodString getMethodJavadocReturn(Method method)
method
- the methodMap<String,String> getMethodJavadocThrows(Method method)
method
- the methodString getParamJavadoc(Method method, String name)
method
- the methodname
- the nameString getFieldJavadoc(Field field)
field
- the fieldCopyright © 2024. All rights reserved.