src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java
private Value<D> getPropertyFromContainer(final FullEntity<?> container, final Path containerPath) {
		String foundName = null;
		Value<D> value = null;

		for (String name: property.getLoadNames()) {
			if (container.contains(name)) {
				if (foundName != null)
					throw new IllegalStateException("Collision trying to load field; multiple name matches for '"
							+ property.getName() + "' at '" + containerPath.extend(foundName) + "' and '" + containerPath.extend(name) + "'");

				//noinspection unchecked
				value = container.getValue(name);
				foundName = name;
			}
		}

		if (foundName == null)
			throw new SkipException();
		else
			return value;
	}
private Value<D> getPropertyFromContainer(final FullEntity<?> container, final Path containerPath) {
		String foundName = null;
		Value<D> value = null;

		for (String name: property.getLoadNames()) {
			if (container.contains(name)) {
				if (foundName != null)
					throw new IllegalStateException("Collision trying to load field; multiple name matches for '"
							+ property.getName() + "' at '" + containerPath.extend(foundName) + "' and '" + containerPath.extend(name) + "'");

				//noinspection unchecked
				value = container.getValue(name);
				foundName = name;
			}
		}

		if (foundName == null)
			throw new SkipException();
		else
			return value;
	}
private Value < D > getPropertyFromContainer ( final FullEntity < ? > container , final Path containerPath ) { String foundName = null ; Value < D > value = null ; for ( String name : property . getLoadNames ( ) ) { if ( container . contains ( name ) ) { if ( foundName != null ) throw new IllegalStateException ( "Collision trying to load field; multiple name matches for '" + property . getName ( ) + "' at '" + containerPath . extend ( foundName ) + "' and '" + containerPath . extend ( name ) + "'" ) ; //noinspection unchecked value = container . getValue ( name ) ; foundName = name ; } } if ( foundName == null ) throw new SkipException ( ) ; else return value ; }
Gets the relevant property from the container, detecting alsoload collisions.

@return the value obtained from the container
@throws IllegalStateException if there are multiple alsoload name matches
Gets the relevant property from the container detecting alsoload collisions .