Package org.eclipse.xtext.common.types

Examples of org.eclipse.xtext.common.types.JvmIdentifiableElement


  public JvmTypeReference jvmType(final XExpression expr, final EObject context) {
    JvmTypeReference _xifexpression = null;
    if ((expr instanceof XAbstractFeatureCall)) {
      JvmTypeReference _xblockexpression = null;
      {
        final JvmIdentifiableElement feature = ((XAbstractFeatureCall) expr).getFeature();
        JvmTypeReference _switchResult = null;
        boolean _matched = false;
        if (!_matched) {
          if (feature instanceof JvmOperation) {
            final JvmOperation _jvmOperation = (JvmOperation)feature;
View Full Code Here


 
  private void collectUsedMember(final EObject expr, final JvmType type, final Collection<JvmExecutable> executables) {
    JvmExecutable op = null;
    if ((expr instanceof XAbstractFeatureCall)) {
      final XAbstractFeatureCall featureCall = ((XAbstractFeatureCall) expr);
      JvmIdentifiableElement _feature = featureCall.getFeature();
      if ((_feature instanceof JvmExecutable)) {
        JvmIdentifiableElement _feature_1 = featureCall.getFeature();
        op = ((JvmExecutable) _feature_1);
      }
    } else {
      if ((expr instanceof XConstructorCall)) {
        final XConstructorCall constructorCall = ((XConstructorCall) expr);
View Full Code Here

      assertMethodName = _xifexpression;
      boolean _and_1 = false;
      if (!(expr instanceof XBinaryOperation)) {
        _and_1 = false;
      } else {
        JvmIdentifiableElement _feature = ((XBinaryOperation) expr).getFeature();
        _and_1 = ((expr instanceof XBinaryOperation) && (_feature instanceof JvmOperation));
      }
      if (_and_1) {
        final XBinaryOperation binOp = ((XBinaryOperation) expr);
        JvmIdentifiableElement _feature_1 = binOp.getFeature();
        final JvmOperation feature = ((JvmOperation) _feature_1);
        JvmDeclaredType _declaringType = feature.getDeclaringType();
        final String typeName = _declaringType.getQualifiedName();
        boolean _and_2 = false;
        boolean _startsWith = typeName.startsWith("org.eclipse.xtext.xbase.lib.");
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.common.types.JvmIdentifiableElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.