@Override boolean isAvailable() { return constructor.orElse(null) != null; } },
@Nullable @Override public String getParameterName() { return name.orElse(null); } }
@Nullable @Override public Association<P> getAssociation() { return association.orElse(null); }
@Nullable public final TypeInformation<?> getComponentType() { return componentType.orElse(null); }
@Nullable public TypeInformation<?> getMapValueType() { return valueType.orElse(null); }
/** * Returns a new Lazy that will return the given value in case the current one does not yield in a result. * * @param supplier must not be {@literal null}. * @return */ public Lazy<T> or(T value) { Assert.notNull(value, "Value must not be null!"); return Lazy.of(() -> orElse(value)); }