MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Augmenter

Method Augmenter

java/src/org/openqa/selenium/remote/Augmenter.java:66–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 private final Set<Augmentation<?>> augmentations;
65
66 public Augmenter() {
67 Set<Augmentation<?>> augmentations = new HashSet<>();
68 StreamSupport.stream(ServiceLoader.load(AugmenterProvider.class).spliterator(), false)
69 .forEach(provider -> augmentations.add(createAugmentation(provider)));
70
71 this.augmentations = unmodifiableSet(augmentations);
72 }
73
74 private static <X> Augmentation<X> createAugmentation(AugmenterProvider<X> provider) {
75 Require.nonNull("Interface provider", provider);

Callers

nothing calls this directly

Calls 8

createAugmentationMethod · 0.95
nonNullMethod · 0.95
addAllMethod · 0.80
addMethod · 0.65
forEachMethod · 0.45
streamMethod · 0.45
loadMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected