File tree 3 files changed +11
-3
lines changed
java/src/org/openqa/selenium/interactions
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
package org .openqa .selenium .interactions ;
19
19
20
+ import org .jspecify .annotations .NullMarked ;
20
21
import org .openqa .selenium .Point ;
21
22
22
23
/**
23
24
* Provides coordinates of an element for advanced interactions. Note that some coordinates (such as
24
25
* screen coordinates) are evaluated lazily since the element may have to be scrolled into view.
25
26
*/
27
+ @ NullMarked
26
28
public interface Coordinates {
27
29
28
30
/**
Original file line number Diff line number Diff line change 18
18
package org .openqa .selenium .interactions ;
19
19
20
20
import java .util .Collection ;
21
+ import org .jspecify .annotations .NullMarked ;
21
22
22
23
/**
23
24
* Indicates that a class can be used with the W3C WebDriver <a
24
25
* href="https://www.w3.org/TR/webdriver/#actions">Actions commands</a>.
25
26
*/
27
+ @ NullMarked
26
28
public interface Interactive {
27
29
void perform (Collection <Sequence > actions );
28
30
Original file line number Diff line number Diff line change 17
17
18
18
package org .openqa .selenium .interactions ;
19
19
20
+ import org .jspecify .annotations .NullMarked ;
21
+ import org .jspecify .annotations .Nullable ;
22
+
20
23
/** One of the allowing types for an {@link InputSource}. */
24
+ @ NullMarked
21
25
public enum SourceType {
22
26
KEY ("key" ),
23
27
NONE (null ),
24
28
POINTER ("pointer" ),
25
29
WHEEL ("wheel" );
26
30
27
- private final String type ;
31
+ private final @ Nullable String type ;
28
32
29
- SourceType (String type ) {
33
+ SourceType (@ Nullable String type ) {
30
34
this .type = type ;
31
35
}
32
36
33
- public String getType () {
37
+ public @ Nullable String getType () {
34
38
return type ;
35
39
}
36
40
}
You can’t perform that action at this time.
0 commit comments