-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1044219: Add marker annotation for internal API (#1629)
- Loading branch information
1 parent
f922aa2
commit 35edeea
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/main/java/net/snowflake/client/core/SnowflakeJdbcInternalApi.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,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 {} |