クラスSimpleAnnotationValueVisitorPreview<R,P>

型パラメータ:
R - このビジターのメソッドの戻り型
P - このビジターのメソッドに追加するパラメータの型。
すべての実装されたインタフェース:
AnnotationValueVisitor<R,P>

@SupportedSourceVersion(RELEASE_23) public class SimpleAnnotationValueVisitorPreview<R,P> extends SimpleAnnotationValueVisitor14<R,P>
SimpleAnnotationValueVisitorPreviewは、Javaプラットフォームのリフレクティブ・プレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
「プレビュー」ソース・バージョンに適したデフォルトの動作を持つ注釈値の単純なビジター。 ビジット・メソッドは、defaultActionを呼び出します。その際、defaultActionの対応するパラメータに引数を渡します。
APIのノート:
このクラスのメソッドは、一般規約に従ってオーバーライドできます。
導入されたバージョン:
23
関連項目:
  • コンストラクタの詳細

    • SimpleAnnotationValueVisitorPreview

      protected SimpleAnnotationValueVisitorPreview()
      具象サブクラスのコンストラクタです。デフォルト値にnullを使用します。
    • SimpleAnnotationValueVisitorPreview

      protected SimpleAnnotationValueVisitorPreview(R defaultValue)
      具象サブクラスのコンストラクタです。デフォルト値に引数を使用します。
      パラメータ:
      defaultValue - 割り当てる値SimpleAnnotationValueVisitor6.DEFAULT_VALUE