Annotation Interface SwtThread


Marks that the given code should only be called from an SWT thread. When annotated on a method or constructor, this indicates that all of its methods should only be called from the SWT thread. When annotated on a class, indicates that all of its methods should only be called from the SWT thread When annotated on a parameter or field, it must be either an rx.Observable, IFlowable, or a CompletionStage, and it indicates that the given code should only be set and listened to from SWT. You can use `@SwtThread(SwtThread.Kind.THREADSAFE)` to mark exceptions (e.g. mark a class as SwtThread, but some methods as threadsafe).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description