001/* -*- mode: Java; c-basic-offset: 2; indent-tabs-mode: nil; coding: utf-8-unix -*-
002 *
003 * Copyright © 2022–2023 microBean™.
004 *
005 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
006 * the License.  You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
011 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the
012 * specific language governing permissions and limitations under the License.
013 */
014package org.microbean.qualifier;
015
016import java.lang.constant.ClassDesc;
017
018/**
019 * A utility class containing useful {@link java.lang.constant.ConstantDesc}s.
020 *
021 * @author <a href="https://about.me/lairdnelson" target="_parent">Laird Nelson</a>
022 */
023public final class ConstantDescs {
024
025
026  /*
027   * Static fields.
028   */
029
030
031  /**
032   * A {@link ClassDesc} describing {@link Bindings org.microbean.qualifier.Attributed}.
033   *
034   * @nullability This field is never {@code null}.
035   */
036  public static final ClassDesc CD_Attributed = ClassDesc.of("org.microbean.qualifier.Attributed");
037
038  /**
039   * A {@link ClassDesc} describing {@link Binding org.microbean.qualifier.Binding}.
040   *
041   * @nullability This field is never {@code null}.
042   */
043  public static final ClassDesc CD_Binding = ClassDesc.of("org.microbean.qualifier.Binding");
044
045  /**
046   * A {@link ClassDesc} describing {@link Bindings org.microbean.qualifier.Bindings}.
047   *
048   * @nullability This field is never {@code null}.
049   */
050  public static final ClassDesc CD_Bindings = ClassDesc.of("org.microbean.qualifier.Bindings");
051
052  /**
053   * A {@link ClassDesc} describing {@link Bindings org.microbean.qualifier.NamedAttributeMap}.
054   *
055   * @nullability This field is never {@code null}.
056   */
057  public static final ClassDesc CD_NamedAttributeMap = ClassDesc.of("org.microbean.qualifier.NamedAttributeMap");
058
059  /**
060   * A {@link ClassDesc} describing {@link Qualified org.microbean.qualifier.Qualified}.
061   *
062   * @nullability This field is never {@code null}.
063   */
064  public static final ClassDesc CD_Qualified = ClassDesc.of("org.microbean.qualifier.Qualified");
065
066  /**
067   * A {@link ClassDesc} describing {@link Qualified.Record org.microbean.qualifier.Qualified.Record}.
068   *
069   * @nullability This field is never {@code null}.
070   */
071  public static final ClassDesc CD_QualifiedRecord = ClassDesc.of("org.microbean.qualifier.Qualified$Record");
072
073  /**
074   * A {@link ClassDesc} describing {@link Qualifier org.microbean.qualifier.Qualifier}.
075   *
076   * @nullability This field is never {@code null}.
077   */
078  public static final ClassDesc CD_Qualifier = ClassDesc.of("org.microbean.qualifier.Qualifier");
079
080  /**
081   * A {@link ClassDesc} describing {@link Qualifiers org.microbean.qualifier.Qualifiers}.
082   *
083   * @nullability This field is never {@code null}.
084   */
085  public static final ClassDesc CD_Qualifiers = ClassDesc.of("org.microbean.qualifier.Qualifiers");
086
087
088  /*
089   * Constructors.
090   */
091
092
093  private ConstantDescs() {
094    super();
095  }
096
097
098}