本文整理汇总了Java中com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression.substituteThis方法的典型用法代码示例。如果您正苦于以下问题:Java DebuggerTreeNodeExpression.substituteThis方法的具体用法?Java DebuggerTreeNodeExpression.substituteThis怎么用?Java DebuggerTreeNodeExpression.substituteThis使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression
的用法示例。
在下文中一共展示了DebuggerTreeNodeExpression.substituteThis方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getChildValueExpression
import com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression; //导入方法依赖的package包/类
public PsiExpression getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException
{
Value expressionValue = getLastChildrenValue(node.getParent().getDescriptor());
if(expressionValue == null)
{
throw EvaluateExceptionUtil.createEvaluateException(DebuggerBundle.message("error.unable.to.evaluate.expression"));
}
NodeRenderer childrenRenderer = getChildrenRenderer(expressionValue, (ValueDescriptor) node.getParent().getDescriptor());
PsiExpression childrenPsiExpression = myChildrenExpression.getPsiExpression(node.getProject());
if(childrenPsiExpression == null)
{
return null;
}
return DebuggerTreeNodeExpression.substituteThis(childrenRenderer.getChildValueExpression(node, context), (PsiExpression) childrenPsiExpression.copy(), expressionValue);
}
示例2: getChildValueExpression
import com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression; //导入方法依赖的package包/类
public PsiExpression getChildValueExpression(DebuggerTreeNode node, DebuggerContext context) throws EvaluateException {
Value expressionValue = node.getParent().getDescriptor().getUserData(EXPRESSION_VALUE);
if (expressionValue == null) {
throw EvaluateExceptionUtil.createEvaluateException(DebuggerBundle.message("error.unable.to.evaluate.expression"));
}
NodeRenderer childrenRenderer = getChildrenRenderer(expressionValue, (ValueDescriptor) node.getParent().getDescriptor());
return DebuggerTreeNodeExpression.substituteThis(
childrenRenderer.getChildValueExpression(node, context),
(PsiExpression)myChildrenExpression.getPsiExpression(node.getProject()).copy(),
expressionValue);
}
示例3: substituteThis
import com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression; //导入方法依赖的package包/类
@Override
public PsiExpression substituteThis(PsiExpression expressionWithThis, PsiExpression howToEvaluateThis, Value howToEvaluateThisValue, StackFrameContext context)
throws EvaluateException {
return DebuggerTreeNodeExpression.substituteThis(expressionWithThis, howToEvaluateThis, howToEvaluateThisValue);
}
示例4: substituteThis
import com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression; //导入方法依赖的package包/类
public PsiExpression substituteThis(PsiExpression expressionWithThis, PsiExpression howToEvaluateThis, Value howToEvaluateThisValue, StackFrameContext context)
throws EvaluateException {
return DebuggerTreeNodeExpression.substituteThis(expressionWithThis, howToEvaluateThis, howToEvaluateThisValue);
}
示例5: substituteThis
import com.intellij.debugger.ui.impl.watch.DebuggerTreeNodeExpression; //导入方法依赖的package包/类
@Override
public PsiExpression substituteThis(PsiExpression expressionWithThis, PsiExpression howToEvaluateThis, Value howToEvaluateThisValue, StackFrameContext context) throws EvaluateException
{
return DebuggerTreeNodeExpression.substituteThis(expressionWithThis, howToEvaluateThis, howToEvaluateThisValue);
}