1 /*
2 * SPDX-FileCopyrightText: none
3 * SPDX-License-Identifier: CC0-1.0
4 */
5
6 package dev.metaschema.core.testsupport.builder;
7
8 import edu.umd.cs.findbugs.annotations.NonNull;
9
10 /**
11 * Marker interface for model references that need to be resolved lazily during
12 * module construction. This allows building recursive structures where an
13 * assembly can reference itself or other assemblies that haven't been built
14 * yet.
15 */
16 public interface IModelReference {
17 /**
18 * Get the name of the referenced definition.
19 *
20 * @return the local name of the referenced assembly or field
21 */
22 @NonNull
23 String getReferencedName();
24 }