Replies the preferred name for the types of the roads.

@return the preferred name for the types of the roads.
@see #DEFAULT_ATTR_ROAD_TYPE
321342
@Pure
	public static String getPreferredAttributeNameForRoadType() {
		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkConstants.class);
		if (prefs != null) {
			return prefs.get("ROAD_TYPE_ATTR_NAME", DEFAULT_ATTR_ROAD_TYPE); //$NON-NLS-1$
		}
		return DEFAULT_ATTR_ROAD_TYPE;
	}
718465
public static Name name(JCTree tree) {
        switch (tree.getTag()) {
        case IDENT:
            return ((JCIdent) tree).name;
        case SELECT:
            return ((JCFieldAccess) tree).name;
        case TYPEAPPLY:
            return name(((JCTypeApply) tree).clazz);
        default:
            return null;
        }
    }
508215
@Pure
	public static BusLayerDrawerType getPreferredLineDrawAlgorithm() {
		final Preferences prefs = Preferences.userNodeForPackage(BusLayerConstants.class);
		if (prefs != null) {
			final String algo = prefs.get("DRAWING_ALGORITHM", null); //$NON-NLS-1$
			if (algo != null && algo.length() > 0) {
				try {
					return BusLayerDrawerType.valueOf(algo);
				} catch (Throwable exception) {
					//
				}
			}
		}
		return BusLayerDrawerType.OVERLAP;
	}
314107
public Collection<String> listAttributeNames() {
        List<String> list = new ArrayList<String>();
        try {
            MBeanAttributeInfo[] attrs = beanInfo.getAttributes();
            for (MBeanAttributeInfo attr : attrs) {
                list.add(attr.getName());
            }
        } catch (Exception e) {
            throwException("Could not list attribute names. Reason: ", e);
        }
        return list;
    }
1326308
@Override
	public String getName()
    {
    	return (usingSSL ? PacketTransportType.TCPS : PacketTransportType.TCP)+"-"+listenAddr+"-"+listenPort;
    }
806578
public String[] getCustomTypes() {
        String[] customTypes = new String[this.customTypes.size()];
        for (int i = 0; i < this.customTypes.size(); i++) {
            CustomType customType = this.customTypes.get(i);
            customTypes[i] = customType.getClassName();
        }
        return customTypes;
    }
518876
public static void setPreferredAttributeNameForRoadNumber(String name) {
		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkConstants.class);
		if (prefs != null) {
			if (name == null || "".equals(name) || DEFAULT_ATTR_ROAD_NUMBER.equalsIgnoreCase(name)) { //$NON-NLS-1$
				prefs.remove("ROAD_NUMBER_ATTR_NAME"); //$NON-NLS-1$
			} else {
				prefs.put("ROAD_NUMBER_ATTR_NAME", name); //$NON-NLS-1$
			}
		}
	}
986263
public Type type() {
    if (type == null) {
      synchronized (this) {
        if (type == null) {
          type = address() instanceof Inet6Address ? Type.IPV6 : Type.IPV4;
        }
      }
    }
    return type;
  }
414137
public static String[] getDataTypesName()
    {
        Set<String> dataTypeNames = new HashSet<String>();
        for(Datatype datatype : miriam.getDatatype()) {
        	dataTypeNames.add(datatype.getName());
        }
        return dataTypeNames.toArray(ARRAY_OF_STRINGS);
    }
1020940
protected static function _init()
    {
        self::$_routeTypes = [
            self::TYPE_DEFAULT_ROUTE => __d('wasabi_core', 'Default'),
            self::TYPE_REDIRECT_ROUTE => __d('wasabi_core', 'Redirect')
        ];

        self::$_initialized = true;
    }
781364
public com.google.api.ads.admanager.axis.v201902.RoadblockingType getBuiltInRoadblockingType() {
        return builtInRoadblockingType;
    }
600427
protected Map<String, String> getElementAttributes() {
        // Preserve order of attributes
        Map<String, String> attrs = new HashMap<>();

        if (this.getName() != null) {
            attrs.put("name", this.getName());
        }
        if (this.getValue() != null) {
            attrs.put("value", this.getValue());
        }

        return attrs;
    }
250058
@Pure
	public static String getPreferredAttributeNameForLaneCount() {
		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkConstants.class);
		if (prefs != null) {
			return prefs.get("LANE_COUNT_ATTR_NAME", DEFAULT_ATTR_LANE_COUNT); //$NON-NLS-1$
		}
		return DEFAULT_ATTR_LANE_COUNT;
	}
1118611
def infer_routes(options)
      if options.any?
        if options[:only]
          if options[:only].is_a?(Symbol)
            routes = [options[:only]]
          elsif options[:only].is_a?(Array)
            routes = options[:only]
          end
        elsif options[:except]
          if options[:except].is_a?(Symbol)
            routes = default_routes - [options[:except]]
          elsif options[:except].is_a?(Array)
            routes = default_routes - options[:except]
          end
        end
      else
        routes = default_routes
      end

      routes
    end
1028431
public static void setPreferredAttributeNameForRoadName(String name) {
		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkConstants.class);
		if (prefs != null) {
			if (name == null || "".equals(name) || DEFAULT_ATTR_ROAD_NAME.equalsIgnoreCase(name)) { //$NON-NLS-1$
				prefs.remove("ROAD_NAME_ATTR_NAME"); //$NON-NLS-1$
			} else {
				prefs.put("ROAD_NAME_ATTR_NAME", name); //$NON-NLS-1$
			}
		}
	}
477609
@Pure
	public static String getPreferredAttributeValueForRoadType(RoadType type) {
		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkConstants.class);
		if (prefs != null) {
			final String v = prefs.get("ROAD_TYPE_VALUE_" + type.name(), null); //$NON-NLS-1$
			if (v != null && !"".equals(v)) { //$NON-NLS-1$
				return v;
			}
		}
		return getSystemDefault(type);
	}
262689
public ProjectType getDefaultType() {
		if (this.projectTypes.getDefaultItem() != null) {
			return this.projectTypes.getDefaultItem();
		}
		String defaultTypeId = getDefaults().get("type");
		if (defaultTypeId != null) {
			return this.projectTypes.getContent().get(defaultTypeId);
		}
		return null;
	}