public boolean isInlined(XAbstractFeatureCall call) { return findInlineAnnotation(call) != null; } }
public JvmAnnotationReference findInlineAnnotation(XAbstractFeatureCall featureCall) { final JvmIdentifiableElement feature = featureCall.getFeature(); return findInlineAnnotation(feature); }
protected void appendInlineFeatureCall(XAbstractFeatureCall call, ITreeAppendable b) { JvmAnnotationReference inlineAnnotation = expressionHelper.findInlineAnnotation(call); String formatString = null; List<JvmTypeReference> importedTypes = Lists.newArrayListWithCapacity(2);
protected synchronized void appendInlineFeatureCall(XAbstractFeatureCall call, ITreeAppendable target) { final JvmAnnotationReference inlineAnnotation = this.expressionHelper.findInlineAnnotation(call);
protected void featureCalltoJavaExpression(final XAbstractFeatureCall call, ITreeAppendable b, boolean isExpressionContext) { if (call instanceof XAssignment) { assignmentToJavaExpression((XAssignment) call, b, isExpressionContext); } else { if (needMultiAssignment(call)) { appendLeftOperand(call, b, isExpressionContext).append(" = "); } final JvmAnnotationReference annotationRef = this.expressionHelper.findInlineAnnotation(call); if (annotationRef == null || !isConstantExpression(annotationRef)) { boolean hasReceiver = appendReceiver(call, b, isExpressionContext); if (hasReceiver) { b.append("."); b = appendTypeArguments(call, b); } } appendFeatureCall(call, b); } }
protected boolean appendReceiver(XAbstractFeatureCall call, ITreeAppendable b, @SuppressWarnings("unused") boolean isExpressionContext) { if (call.isStatic()) { if (expressionHelper.findInlineAnnotation(call) != null) { return false;
if (feature instanceof JvmOperation) { _matched=true; final JvmAnnotationReference annotationReference = this._xExpressionHelper.findInlineAnnotation(expression); if ((annotationReference == null)) { return false;
JvmAnnotationReference inlineAnnotation = expressionHelper.findInlineAnnotation(featureCall); if (inlineAnnotation == null) return true;