de.frag.umlplugin.psi
Class ClassPresentation
java.lang.Object
de.frag.umlplugin.psi.ClassPresentation
public class ClassPresentation
- extends java.lang.Object
Handles presentation of class, fields and methods.
Method Summary |
static java.lang.String |
renderHtml(com.intellij.psi.PsiClass psiClass,
ClassType classType,
boolean renderFields,
boolean renderMethods)
Renders HTML code that shows information about a class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC_WIDTH
public static final java.lang.String MAGIC_WIDTH
- See Also:
- Constant Field Values
ClassPresentation
public ClassPresentation()
renderHtml
@NotNull
public static java.lang.String renderHtml(@NotNull
com.intellij.psi.PsiClass psiClass,
@NotNull
ClassType classType,
boolean renderFields,
boolean renderMethods)
- Renders HTML code that shows information about a class.
- Parameters:
psiClass
- class to renderclassType
- class typerenderFields
- true, if fields should be contained in output; false otherwiserenderMethods
- true, if methods should be contained in output; false otherwise
- Returns:
- created HTML code