File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed 
java/src/org/openqa/selenium/interactions Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1717
1818package  org .openqa .selenium .interactions ;
1919
20+ import  org .jspecify .annotations .NullMarked ;
2021import  org .openqa .selenium .Point ;
2122
2223/** 
2324 * Provides coordinates of an element for advanced interactions. Note that some coordinates (such as 
2425 * screen coordinates) are evaluated lazily since the element may have to be scrolled into view. 
2526 */ 
27+ @ NullMarked 
2628public  interface  Coordinates  {
2729
2830  /** 
Original file line number Diff line number Diff line change 1818package  org .openqa .selenium .interactions ;
1919
2020import  java .util .Collection ;
21+ import  org .jspecify .annotations .NullMarked ;
2122
2223/** 
2324 * Indicates that a class can be used with the W3C WebDriver <a 
2425 * href="https://www.w3.org/TR/webdriver/#actions">Actions commands</a>. 
2526 */ 
27+ @ NullMarked 
2628public  interface  Interactive  {
2729  void  perform (Collection <Sequence > actions );
2830
Original file line number Diff line number Diff line change 1717
1818package  org .openqa .selenium .interactions ;
1919
20+ import  org .jspecify .annotations .NullMarked ;
21+ import  org .jspecify .annotations .Nullable ;
22+ 
2023/** One of the allowing types for an {@link InputSource}. */ 
24+ @ NullMarked 
2125public  enum  SourceType  {
2226  KEY ("key" ),
2327  NONE (null ),
2428  POINTER ("pointer" ),
2529  WHEEL ("wheel" );
2630
27-   private  final  String  type ;
31+   private  final  @ Nullable   String  type ;
2832
29-   SourceType (String  type ) {
33+   SourceType (@ Nullable   String  type ) {
3034    this .type  = type ;
3135  }
3236
33-   public  String  getType () {
37+   public  @ Nullable   String  getType () {
3438    return  type ;
3539  }
3640}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments