public class ClassRenderer extends NodeRendererImpl
NodeRendererImpl.Overhead| Modifier and Type | Field and Description |
|---|---|
boolean |
SHOW_DECLARED_TYPE |
boolean |
SHOW_FQ_TYPE_NAMES |
boolean |
SHOW_OBJECT_ID |
boolean |
SHOW_STATIC |
boolean |
SHOW_STATIC_FINAL |
boolean |
SHOW_STRINGS_TYPE |
boolean |
SHOW_SYNTHETICS |
boolean |
SHOW_VAL_FIELDS_AS_LOCAL_VARIABLES |
static java.lang.String |
UNIQUE_ID |
DEFAULT_NAME, myPropertiesEP_NAME| Constructor and Description |
|---|
ClassRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext) |
protected static java.lang.String |
calcLabel(ValueDescriptor descriptor,
EvaluationContext evaluationContext) |
java.lang.String |
calcLabel(ValueDescriptor descriptor,
EvaluationContext evaluationContext,
DescriptorLabelListener labelListener) |
ClassRenderer |
clone() |
protected FieldDescriptor |
createFieldDescriptor(ValueDescriptorImpl parentDescriptor,
NodeDescriptorFactory nodeDescriptorFactory,
com.sun.jdi.ObjectReference objRef,
com.sun.jdi.Field field,
EvaluationContext evaluationContext) |
PsiElement |
getChildValueExpression(DebuggerTreeNode node,
DebuggerContext context)
- parentNode
+ ..
|
static java.lang.String |
getEnumConstantName(com.sun.jdi.ObjectReference objRef,
com.sun.jdi.ClassType classType) |
java.lang.String |
getName() |
java.lang.String |
getUniqueId() |
boolean |
isApplicable(com.sun.jdi.Type type)
Checks whether this renderer is applicable to this value
|
boolean |
isExpandable(com.sun.jdi.Value value,
EvaluationContext evaluationContext,
NodeDescriptor parentDescriptor) |
void |
readExternal(Element element) |
java.lang.String |
renderTypeName(java.lang.String typeName) |
void |
setName(java.lang.String text) |
protected boolean |
shouldDisplay(EvaluationContext context,
com.sun.jdi.ObjectReference objInstance,
com.sun.jdi.Field field) |
void |
writeExternal(Element element) |
getIdLabel, hasOverhead, isEnabled, isShowType, setEnabled, setShowType, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcValueIconpublic static final java.lang.String UNIQUE_ID
public boolean SHOW_SYNTHETICS
public boolean SHOW_VAL_FIELDS_AS_LOCAL_VARIABLES
public boolean SHOW_STATIC
public boolean SHOW_STATIC_FINAL
public boolean SHOW_FQ_TYPE_NAMES
public boolean SHOW_DECLARED_TYPE
public boolean SHOW_OBJECT_ID
public boolean SHOW_STRINGS_TYPE
public final java.lang.String renderTypeName(java.lang.String typeName)
public java.lang.String getUniqueId()
public ClassRenderer clone()
clone in interface Rendererclone in class NodeRendererImplpublic java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext, DescriptorLabelListener labelListener) throws EvaluateException
EvaluateExceptionprotected static java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext) throws EvaluateException
EvaluateExceptionpublic void buildChildren(com.sun.jdi.Value value,
ChildrenBuilder builder,
EvaluationContext evaluationContext)
buildChildren in interface ChildrenRendererbuildChildren in class NodeRendererImplprotected FieldDescriptor createFieldDescriptor(ValueDescriptorImpl parentDescriptor, NodeDescriptorFactory nodeDescriptorFactory, com.sun.jdi.ObjectReference objRef, com.sun.jdi.Field field, EvaluationContext evaluationContext)
protected boolean shouldDisplay(EvaluationContext context, com.sun.jdi.ObjectReference objInstance, com.sun.jdi.Field field)
public void readExternal(Element element)
throws InvalidDataException
readExternal in interface JDOMExternalizablereadExternal in class NodeRendererImplInvalidDataExceptionpublic void writeExternal(Element element)
throws WriteExternalException
writeExternal in interface JDOMExternalizablewriteExternal in class NodeRendererImplWriteExternalExceptionpublic PsiElement getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException
ChildrenRenderergetChildValueExpression in interface ChildrenRenderergetChildValueExpression in class NodeRendererImplnode - a child nodeEvaluateExceptionpublic boolean isExpandable(com.sun.jdi.Value value,
EvaluationContext evaluationContext,
NodeDescriptor parentDescriptor)
isExpandable in interface ChildrenRendererisExpandable in class NodeRendererImplpublic boolean isApplicable(com.sun.jdi.Type type)
Rendererpublic java.lang.String getName()
getName in interface NodeRenderergetName in class NodeRendererImplpublic void setName(java.lang.String text)
setName in interface NodeRenderersetName in class NodeRendererImplpublic static java.lang.String getEnumConstantName(com.sun.jdi.ObjectReference objRef,
com.sun.jdi.ClassType classType)