001/* -*- mode: Java; c-basic-offset: 2; indent-tabs-mode: nil; coding: utf-8-unix -*- 002 * 003 * Copyright © 2022 microBean™. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 014 * implied. See the License for the specific language governing 015 * permissions and limitations under the License. 016 */ 017package org.microbean.path; 018 019import java.lang.constant.ClassDesc; 020 021/** 022 * A utility class containing useful {@link 023 * java.lang.constant.ConstantDesc}s (mostly {@link ClassDesc}s). 024 * 025 * @author <a href="https://about.me/lairdnelson" 026 * target="_parent">Laird Nelson</a> 027 */ 028public final class ConstantDescs { 029 030 031 /* 032 * Static fields. 033 */ 034 035 036 /** 037 * A {@link ClassDesc} describing {@link Path 038 * org.microbean.path.Path}. 039 * 040 * @nullability This field is never {@code null}. 041 */ 042 public static final ClassDesc CD_Path = ClassDesc.of(Path.class.getName()); 043 044 /** 045 * A {@link ClassDesc} describing {@link Path.Element 046 * org.microbean.path.Path.Element}. 047 * 048 * @nullability This field is never {@code null}. 049 */ 050 public static final ClassDesc CD_PathElement = ClassDesc.of(Path.Element.class.getName()); 051 052 053 /* 054 * Constructors. 055 */ 056 057 058 private ConstantDescs() { 059 super(); 060 } 061 062 063}