Top Description Inners Constructors Methods
org.jetbrains.annotations

public final Class Async

extends Object
Class Inheritance
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Helper annotations for asynchronous computation. Used for example in IntelliJ IDEA's debugger for async stacktraces feature.
Author
egor

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static @interface
Async.Execute

Indicates that the marked method executes async computation.

public static @interface
Async.Schedule

Indicates that the marked method schedules async computation.

Constructor Summary

AccessConstructor and Description
private
Async()

Prohibited default constructor.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Asyncback to summary
private Async()

Prohibited default constructor.

org.jetbrains.annotations back to summary

public @Interface Async.Execute

extends Annotation
Annotations
@Retention:CLASS
@Target:METHOD, CONSTRUCTOR, PARAMETER

Indicates that the marked method executes async computation. Executed object is either this, or the annotated parameter value. This object needs to match with the one annotated with Schedule

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString
org.jetbrains.annotations back to summary

public @Interface Async.Schedule

extends Annotation
Annotations
@Retention:CLASS
@Target:METHOD, CONSTRUCTOR, PARAMETER

Indicates that the marked method schedules async computation. Scheduled object is either this, or the annotated parameter value.

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString