Skip to content

Commit 35edeea

Browse files
SNOW-1044219: Add marker annotation for internal API (#1629)
1 parent f922aa2 commit 35edeea

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2024 Snowflake Computing Inc. All right reserved.
3+
*/
4+
package net.snowflake.client.core;
5+
6+
import java.lang.annotation.ElementType;
7+
import java.lang.annotation.Retention;
8+
import java.lang.annotation.RetentionPolicy;
9+
import java.lang.annotation.Target;
10+
11+
/**
12+
* Elements marked with this annotation should be considered as internal API even if they are public
13+
*/
14+
@Target({
15+
ElementType.PACKAGE,
16+
ElementType.TYPE,
17+
ElementType.FIELD,
18+
ElementType.CONSTRUCTOR,
19+
ElementType.METHOD
20+
})
21+
@Retention(RetentionPolicy.RUNTIME)
22+
public @interface SnowflakeJdbcInternalApi {}

0 commit comments

Comments
 (0)