gpt4 book ai didi

com.intellij.xdebugger.frame.XValueChildrenList.addTopGroup()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 11:22:40 27 4
gpt4 key购买 nike

本文整理了Java中com.intellij.xdebugger.frame.XValueChildrenList.addTopGroup()方法的一些代码示例,展示了XValueChildrenList.addTopGroup()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XValueChildrenList.addTopGroup()方法的具体详情如下:
包路径:com.intellij.xdebugger.frame.XValueChildrenList
类名称:XValueChildrenList
方法名:addTopGroup

XValueChildrenList.addTopGroup介绍

暂无

代码示例

代码示例来源:origin: Camelcade/Perl5-IDEA

list.addTopGroup(new PerlXValueGroup("Global variables", "our", PerlIcons.OUR_GUTTER_ICON, globals, this, false));
fallback = false;
list.addTopGroup(new PerlXMainGroup(this, mainSize));
fallback = false;
list.addTopGroup(new PerlXValueGroup("Arguments", null, PerlIcons.ARGS_GUTTER_ICON, args, this, true));
fallback = false;
list.addTopGroup(new PerlXValueGroup("Lexical variables", "my/state", PerlIcons.MY_GUTTER_ICON, lexicals, this, true));
fallback = false;

代码示例来源:origin: GoogleCloudPlatform/google-cloud-intellij

@Override
public void computeChildren(@NotNull XCompositeNode node) {
 final XValueChildrenList list = new XValueChildrenList();
 List<Variable> arguments = frame.getArguments();
 if (arguments != null && arguments.size() > 0) {
  for (Variable variable : arguments) {
   if (!Strings.isNullOrEmpty(variable.getName())) {
    list.add(variable.getName(), new MyValue(variable, variableTable));
   }
  }
 }
 List<Variable> locals = frame.getLocals();
 if (locals != null && locals.size() > 0) {
  for (Variable variable : locals) {
   if (!Strings.isNullOrEmpty(variable.getName())) {
    list.add(variable.getName(), new MyValue(variable, variableTable));
   }
  }
 }
 if (evaluatedExpressions != null && evaluatedExpressions.size() > 0) {
  list.addTopGroup(new CustomWatchGroup());
 }
 node.addChildren(list, true);
}

代码示例来源:origin: Camelcade/Perl5-IDEA

@Override
public void computeChildren(@NotNull XCompositeNode node) {
 boolean isExpandable = myPerlValueDescriptor.isExpandable();
 PerlLayersDescriptor layers = myPerlValueDescriptor.getLayers();
 PerlValueDescriptor tiedWith = myPerlValueDescriptor.getTiedWith();
 if (!isExpandable && layers == null && tiedWith == null || StringUtil.isEmpty(myPerlValueDescriptor.getKey())) {
  super.computeChildren(node);
 }
 XValueChildrenList childrenList = new XValueChildrenList();
 if (layers != null) {
  childrenList.add(new PerlXLayersNamedValue(layers));
 }
 if (tiedWith != null) {
  childrenList.addTopGroup(new PerlTiedNamedValue(tiedWith, myStackFrame));
 }
 node.addChildren(childrenList, !isExpandable);
 if (isExpandable) {
  PerlDebugUtil.requestAndComputeChildren(node, myStackFrame, offset, myPerlValueDescriptor.getSize(), myPerlValueDescriptor.getKey());
 }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com