public class ConstantViewModel extends ProcessableViewModel
Constant
objects into a more human-readable format. It can be
used as a Java type renderer in Intellij-based IDE to support debugging.processingFlags, processingInfo
Constructor and Description |
---|
ConstantViewModel(Clazz clazz,
Constant constant)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
renderPreview()
A utility method that renders a
Constant entry into a preview string, e.g., String(18)
-> "Foo". |
addExtraProcessingFlags, renderProcessingFlags
public java.lang.String renderPreview()
Constant
entry into a preview string, e.g., String(18)
-> "Foo".