public class JavaDocInfoGenerator
extends java.lang.Object
Constructor and Description |
---|
JavaDocInfoGenerator(Project project,
PsiElement element) |
Modifier and Type | Method and Description |
---|---|
static void |
appendExpressionValue(java.lang.StringBuilder buffer,
PsiExpression initializer) |
static PsiExpression |
calcInitializerExpression(PsiVariable variable) |
protected void |
collectElementText(java.lang.StringBuilder buffer,
PsiElement element) |
protected java.lang.String |
createLinkText(PsiElement[] tagElements) |
static void |
enumConstantOrdinal(java.lang.StringBuilder buffer,
PsiField field,
PsiClass parentClass,
java.lang.String newLine) |
void |
generateCommonSection(java.lang.StringBuilder buffer,
PsiDocComment docComment) |
java.lang.String |
generateDocInfo(java.util.List<java.lang.String> docURLs) |
boolean |
generateDocInfoCore(java.lang.StringBuilder buffer,
boolean generatePrologue) |
java.lang.String |
generateMethodParameterJavaDoc() |
java.lang.String |
generateRenderedDocInfo() |
protected void |
generateSeeAlsoSection(java.lang.StringBuilder buffer,
PsiDocComment comment) |
static java.lang.String |
generateSignature(PsiElement element) |
static int |
generateType(java.lang.StringBuilder buffer,
PsiType type,
PsiElement context) |
static int |
generateType(java.lang.StringBuilder buffer,
PsiType type,
PsiElement context,
boolean generateLink) |
static int |
generateType(java.lang.StringBuilder buffer,
PsiType type,
PsiElement context,
boolean generateLink,
boolean useShortNames) |
static boolean |
isDocumentedAnnotationType(PsiClass resolved) |
static boolean |
isRepeatableAnnotationType(PsiElement annotationType) |
public JavaDocInfoGenerator(Project project, PsiElement element)
public boolean generateDocInfoCore(java.lang.StringBuilder buffer, boolean generatePrologue)
public static java.lang.String generateSignature(PsiElement element)
public java.lang.String generateDocInfo(java.util.List<java.lang.String> docURLs)
public java.lang.String generateRenderedDocInfo()
public static void enumConstantOrdinal(java.lang.StringBuilder buffer, PsiField field, PsiClass parentClass, java.lang.String newLine)
public void generateCommonSection(java.lang.StringBuilder buffer, PsiDocComment docComment)
public static PsiExpression calcInitializerExpression(PsiVariable variable)
public static void appendExpressionValue(java.lang.StringBuilder buffer, PsiExpression initializer)
public static boolean isDocumentedAnnotationType(PsiClass resolved)
public static boolean isRepeatableAnnotationType(PsiElement annotationType)
public java.lang.String generateMethodParameterJavaDoc()
protected java.lang.String createLinkText(PsiElement[] tagElements)
protected void collectElementText(java.lang.StringBuilder buffer, PsiElement element)
protected void generateSeeAlsoSection(java.lang.StringBuilder buffer, PsiDocComment comment)
public static int generateType(java.lang.StringBuilder buffer, PsiType type, PsiElement context)
public static int generateType(java.lang.StringBuilder buffer, PsiType type, PsiElement context, boolean generateLink)
public static int generateType(java.lang.StringBuilder buffer, PsiType type, PsiElement context, boolean generateLink, boolean useShortNames)