public class FieldViewModel extends MemberViewModel
Field
objects into a more human-readable format. It can be
used as a Java type renderer in Intellij-based IDE to support debugging.MemberViewModel.Pair<K,V>
model, processingInfo
processingFlags
Modifier and Type | Method and Description |
---|---|
static FieldViewModel |
render(Clazz clazz,
Field field)
A wrapper utility method that wraps a
Field object in a FieldViewModel |
java.lang.String |
renderPreview()
A utility method that renders a
Field entry into a preview string, e.g., "public static
int bar" |
addExtraProcessingFlags, renderProcessingFlags
public static FieldViewModel render(Clazz clazz, Field field)
Field
object in a FieldViewModel
public java.lang.String renderPreview()
Field
entry into a preview string, e.g., "public static
int bar"