Package org.eclipse.xtext.common.types

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


        }
      } else if (child instanceof FieldClonerType) {
        FieldClonerType fieldCloner = (FieldClonerType) child;
        JvmTypeReference parentType = ((ContainerType) fieldCloner
            .eContainer()).getJavaType();
        JvmField jvmField = reflectionUtils.getField(
            parentType.getType(), fieldCloner.getFieldName());
        if (jvmField != null) {
          fieldCloner.setJavaType(reflectionUtils
            .createDefensiveCopyOfJvmTypeReference(
                reflectionUtils.getTypeOrCollectionTypeParameter(jvmField.getType())));
        } else {
          fieldCloner.setJavaType(reflectionUtils
            .createDefensiveCopyOfJvmTypeReference(JVM_UNKNOWN_TYPE));         
        }
      }
View Full Code Here

TOP

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

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.