public class MethodViewModel extends MemberViewModel
Method
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 MethodViewModel |
render(Clazz clazz,
Method method)
A wrapper utility method that wraps a
Method object in a MethodViewModel |
java.lang.String |
renderPreview()
A utility method that renders a
Method entry into a preview string, e.g., private int
bar(Foo obj) |
addExtraProcessingFlags, renderProcessingFlags
public static MethodViewModel render(Clazz clazz, Method method)
Method
object in a MethodViewModel
public java.lang.String renderPreview()
Method
entry into a preview string, e.g., private int
bar(Foo obj)