mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-23 06:51:24 +07:00
18 lines
409 B
Java
18 lines
409 B
Java
import testutils.RequiresReadLock;
|
|
import testutils.ExpectedPath
|
|
|
|
@ExpectedPath("AnnotationInChain.testMethod -> AnnotationInChain.intermediateMethod -> " +
|
|
"AnnotationInChain.targetMethod -> @RequiresReadLock")
|
|
class AnnotationInChain {
|
|
void testMethod() {
|
|
intermediateMethod();
|
|
}
|
|
|
|
void intermediateMethod() {
|
|
targetMethod();
|
|
}
|
|
|
|
@RequiresReadLock
|
|
void targetMethod() {
|
|
}
|
|
} |