From 35edeea1ca72fda7d848107998bf88d29a3f508b Mon Sep 17 00:00:00 2001 From: Dominik Przybysz <132913826+sfc-gh-dprzybysz@users.noreply.github.com> Date: Wed, 7 Feb 2024 07:02:39 +0100 Subject: [PATCH] SNOW-1044219: Add marker annotation for internal API (#1629) --- .../client/core/SnowflakeJdbcInternalApi.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/net/snowflake/client/core/SnowflakeJdbcInternalApi.java diff --git a/src/main/java/net/snowflake/client/core/SnowflakeJdbcInternalApi.java b/src/main/java/net/snowflake/client/core/SnowflakeJdbcInternalApi.java new file mode 100644 index 000000000..7d97df085 --- /dev/null +++ b/src/main/java/net/snowflake/client/core/SnowflakeJdbcInternalApi.java @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2024 Snowflake Computing Inc. All right reserved. + */ +package net.snowflake.client.core; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Elements marked with this annotation should be considered as internal API even if they are public + */ +@Target({ + ElementType.PACKAGE, + ElementType.TYPE, + ElementType.FIELD, + ElementType.CONSTRUCTOR, + ElementType.METHOD +}) +@Retention(RetentionPolicy.RUNTIME) +public @interface SnowflakeJdbcInternalApi {}