-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1880020: Add marker annotation for Snowflake internal API (#2028)
- Loading branch information
1 parent
0894bb5
commit 1d58f57
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/main/java/net/snowflake/client/core/SnowflakeOrgInternalApi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) 2025 Snowflake Computing Inc. All right reserved. | ||
*/ | ||
package net.snowflake.client.core; | ||
|
||
import java.lang.annotation.Documented; | ||
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 and are public API only | ||
* for Snowflake internal tools. Starting from version 4.x there will be no guarantees that | ||
* annotated elements will maintain backward compatibility. | ||
*/ | ||
@Target({ | ||
ElementType.PACKAGE, | ||
ElementType.TYPE, | ||
ElementType.FIELD, | ||
ElementType.CONSTRUCTOR, | ||
ElementType.METHOD | ||
}) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Documented | ||
public @interface SnowflakeOrgInternalApi {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters