インタフェースAnnotationValue.OfString

すべてのスーパー・インタフェース:
AnnotationValue, AnnotationValue.OfConstant
含まれているインタフェース:
AnnotationValue

public static sealed interface AnnotationValue.OfString extends AnnotationValue.OfConstant
要素と値のペアの文字列値をモデル化します。 この値のtagsです。
導入されたバージョン:
24
  • メソッドの詳細

    • constant

      Utf8Entry constant()
      バッキングUTF8エントリを返します。
      定義:
      インタフェースAnnotationValue.OfConstant内のconstant
      戻り値:
      バッキングUTF8エントリ
    • stringValue

      String stringValue()
      定数文字列値を返します。
      戻り値:
      定数文字列値
    • resolvedValue

      default String resolvedValue()
      解決された文字列値を返します。
      定義:
      インタフェースAnnotationValue.OfConstant内のresolvedValue
      実装要件:
      このメソッドは、stringValue()と同じ値を返します。
      戻り値:
      解決された文字列値