mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 20:01:20 +07:00
GitOrigin-RevId: 5ee84ec5206ded06637d9b08026e8dc7bdfff1f0
18 lines
328 B
Java
18 lines
328 B
Java
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target({ElementType.LOCAL_VARIABLE})
|
|
@interface Anno {}
|
|
|
|
class Test {
|
|
void test() {
|
|
newMethod();
|
|
@Anno String s;
|
|
s = "external assign";
|
|
}
|
|
|
|
private void newMethod() {
|
|
@Anno String s;
|
|
s = "";
|
|
}
|
|
} |