mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 02:50:55 +07:00
13 lines
229 B
Java
13 lines
229 B
Java
final class MyModule {
|
|
@Target({FIELD,PARAMETER,METHOD})
|
|
@Retention(RUNTIME)
|
|
public static @interface Dependency { }
|
|
}
|
|
|
|
class MyAnotherModule {}
|
|
|
|
final class SomeService {
|
|
|
|
SomeService(@MyModule.Dependency<caret>) {
|
|
}
|
|
} |