本文整理匯總了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);
}