Files
openide/plugins/devkit/devkit-java-tests/testData/threadingModelHelper/DifferentClassesMethods.java
Moncef Slimani ae7ce93178 [threading] IJPL-179707: Minor bug fix and refactoring of Analyzer
GitOrigin-RevId: ca372c621f208ccba68219f8bf91e43c2958bc63
2025-11-17 13:31:32 +00:00

24 lines
482 B
Java

import com.intellij.util.concurrency.annotations.RequiresEdt;
import com.intellij.util.concurrency.ThreadingAssertions;
class DifferentClassesMethods {
void testMethod() {
Helper helper = new Helper();
helper.helperMethod();
}
class Helper {
void helperMethod() {
Service service = new Service();
service.serviceMethod();
ThreadingAssertions.assertWriteAccess();
}
}
class Service {
@RequiresEdt
void serviceMethod() {}
}
}