code: public int getSarlElementEcoreType(JvmGenericType type) {
  		final JvmAnnotationReference annotationRef = this.annotationUtil.findAnnotation(type, SarlElementType.class.getName());
  		if (annotationRef != null) {
  			final Integer intValue = this.annotationUtil.findIntValue(annotationRef);
  			if (intValue != null) {
  				return intValue.intValue();
  			}
  		}
  		return 0;
  	}
docs: Extract and replies the Ecore type, provided by {@link SarlPackage} for the given JvmElement.
  
  @param type the JVM type to test.
  @return the code of the type, see {@link SarlPackage}; or {@code 0} if the code is unknown.
  @since 0.6