A mutable builder for a {@link Metadata} object.

@param r the resource
@return a builder for a {@link Metadata} object
1657
public static Builder builder(final Resource r) {
        return builder(r.getIdentifier()).interactionModel(r.getInteractionModel())
                        .container(r.getContainer().orElse(null))
                        .memberRelation(r.getMemberRelation().orElse(null))
                        .membershipResource(r.getMembershipResource().orElse(null))
                        .memberOfRelation(r.getMemberOfRelation().orElse(null))
                        .insertedContentRelation(r.getInsertedContentRelation().orElse(null));
    }
821022
public static Builder v2Builder(String name) {
        return new Builder(name, V2MarshallerSet.marshallers(), V2MarshallerSet.setMarshallers(),
                           StandardUnmarshallerSet.unmarshallers(),
                           StandardUnmarshallerSet.setUnmarshallers());
    }
689977
@Nonnull
	public static <T1, T2, R> LBiObjByteFunction<T1, T2, R> biObjByteFunctionFrom(Consumer<LBiObjByteFunctionBuilder<T1, T2, R>> buildingFunction) {
		LBiObjByteFunctionBuilder builder = new LBiObjByteFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
449021
@Nonnull
	public static <R> LSrtFunction<R> srtFunctionFrom(Consumer<LSrtFunctionBuilder<R>> buildingFunction) {
		LSrtFunctionBuilder builder = new LSrtFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
258177
@Nonnull
	public static <T1, T2, R> LBiObjBoolFunction<T1, T2, R> biObjBoolFunctionFrom(Consumer<LBiObjBoolFunctionBuilder<T1, T2, R>> buildingFunction) {
		LBiObjBoolFunctionBuilder builder = new LBiObjBoolFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
120753
@Nonnull
	public static <T1, T2> LBiObjByteConsumer<T1, T2> biObjByteConsumerFrom(Consumer<LBiObjByteConsumerBuilder<T1, T2>> buildingFunction) {
		LBiObjByteConsumerBuilder builder = new LBiObjByteConsumerBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
153799
@Nonnull
	public static <T1, T2, R> LBiObjDblFunctionBuilder<T1, T2, R> biObjDblFunction() {
		return new LBiObjDblFunctionBuilder();
	}
378430
@Nonnull
	public static <T, R> LObjIntSrtFunctionBuilder<T, R> objIntSrtFunction(Consumer<LObjIntSrtFunction<T, R>> consumer) {
		return new LObjIntSrtFunctionBuilder(consumer);
	}
1144344
@Nonnull
	public static <T, R> LObjSrtFunction<T, R> objSrtFunctionFrom(Consumer<LObjSrtFunctionBuilder<T, R>> buildingFunction) {
		LObjSrtFunctionBuilder builder = new LObjSrtFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
1352427
@Nonnull
	public static <T1, T2, R> LBiObjLongFunction<T1, T2, R> biObjLongFunctionFrom(Consumer<LBiObjLongFunctionBuilder<T1, T2, R>> buildingFunction) {
		LBiObjLongFunctionBuilder builder = new LBiObjLongFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
489220
@Nonnull
	public static <T> LObjByteConsumer<T> objByteConsumerFrom(Consumer<LObjByteConsumerBuilder<T>> buildingFunction) {
		LObjByteConsumerBuilder builder = new LObjByteConsumerBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
824822
@Nonnull
	public static <T, R> LObjBoolFunctionBuilder<T, R> objBoolFunction(Consumer<LObjBoolFunction<T, R>> consumer) {
		return new LObjBoolFunctionBuilder(consumer);
	}
1227362
@Nonnull
	public static <T1, T2, R> LBiObjSrtFunctionBuilder<T1, T2, R> biObjSrtFunction(Consumer<LBiObjSrtFunction<T1, T2, R>> consumer) {
		return new LBiObjSrtFunctionBuilder(consumer);
	}
745846
public AnnotationMetadata buildForMethod(T element) {
        final AnnotationMetadata existing = MUTATED_ANNOTATION_METADATA.get(element);
        if (existing != null) {
            return existing;
        } else {
            DefaultAnnotationMetadata annotationMetadata = new DefaultAnnotationMetadata();
            return buildInternal(null, element, annotationMetadata, false, false);
        }
    }
768082
@Nonnull
	public static <T1, T2, R> LBiObjIntFunctionBuilder<T1, T2, R> biObjIntFunction(Consumer<LBiObjIntFunction<T1, T2, R>> consumer) {
		return new LBiObjIntFunctionBuilder(consumer);
	}
627124
@Nonnull
	public static <T> LObjCharPredicate<T> objCharPredicateFrom(Consumer<LObjCharPredicateBuilder<T>> buildingFunction) {
		LObjCharPredicateBuilder builder = new LObjCharPredicateBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
955161
@Nonnull
	public static <T, R> LObjDblFunctionBuilder<T, R> objDblFunction(Consumer<LObjDblFunction<T, R>> consumer) {
		return new LObjDblFunctionBuilder(consumer);
	}