gpt4 book ai didi

org.eclipse.xtext.xbase.XExpression.eIsProxy()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 14:11:05 25 4
gpt4 key购买 nike

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

XExpression.eIsProxy介绍

暂无

代码示例

代码示例来源:origin: io.sarl.lang/io.sarl.lang

/** Determine if the given expression has a side effect.
 *
 * @param expr the expression.
 * @param context the context.
 * @return {@code true} if the expression has a side effect.
 */
protected Boolean hasSideEffects(XExpression expr, ISideEffectContext context) {
  if (expr != null && !expr.eIsProxy()) {
    return this.hasSideEffectsDispatcher.invoke(expr, context);
  }
  return false;
}

代码示例来源:origin: org.eclipse.xtend/org.eclipse.xtend.core

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public XExpression getExpression()
{
  if (expression != null && expression.eIsProxy())
  {
    InternalEObject oldExpression = (InternalEObject)expression;
    expression = (XExpression)eResolveProxy(oldExpression);
    if (expression != oldExpression)
    {
      if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.RESOLVE, ProcessedRichStringPackage.PRINTED_EXPRESSION__EXPRESSION, oldExpression, expression));
    }
  }
  return expression;
}

代码示例来源:origin: org.eclipse.xtext/org.eclipse.xtext.xbase

if (receiver == null || receiver.eIsProxy())
  return IScope.NULLSCOPE;
LightweightTypeReference receiverType = resolvedTypes.getActualType(receiver);

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