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, myProperties
EP_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, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcValueIcon
public 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 Renderer
clone
in class NodeRendererImpl
public java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext, DescriptorLabelListener labelListener) throws EvaluateException
EvaluateException
protected static java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext) throws EvaluateException
EvaluateException
public void buildChildren(com.sun.jdi.Value value, ChildrenBuilder builder, EvaluationContext evaluationContext)
buildChildren
in interface ChildrenRenderer
buildChildren
in class NodeRendererImpl
protected 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 JDOMExternalizable
readExternal
in class NodeRendererImpl
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
writeExternal
in class NodeRendererImpl
WriteExternalException
public PsiElement getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException
ChildrenRenderer
getChildValueExpression
in interface ChildrenRenderer
getChildValueExpression
in class NodeRendererImpl
node
- a child nodeEvaluateException
public boolean isExpandable(com.sun.jdi.Value value, EvaluationContext evaluationContext, NodeDescriptor parentDescriptor)
isExpandable
in interface ChildrenRenderer
isExpandable
in class NodeRendererImpl
public boolean isApplicable(com.sun.jdi.Type type)
Renderer
public java.lang.String getName()
getName
in interface NodeRenderer
getName
in class NodeRendererImpl
public void setName(java.lang.String text)
setName
in interface NodeRenderer
setName
in class NodeRendererImpl
public static java.lang.String getEnumConstantName(com.sun.jdi.ObjectReference objRef, com.sun.jdi.ClassType classType)