MCPcopy Index your code
hub / github.com/PaperMC/Paper / of

Method of

paper-api/src/main/java/io/papermc/paper/text/Filtered.java:18–18  ·  view source on GitHub ↗
(final T raw, final @Nullable T filtered)

Source from the content-addressed store, hash-verified

16public interface Filtered<T> {
17
18 @Contract(value = "_, _ -> new", pure = true)
19 static <T> Filtered<T> of(final T raw, final @Nullable T filtered) {
20 @ApiStatus.Internal
21 record Instance<T>(T raw, @Nullable T filtered) implements Filtered<T> {}

Callers 15

titleMethod · 0.95
pagesMethod · 0.95
pagesMethod · 0.95
suggestMethod · 0.65
registerMethod · 0.65
tabCompleteMethod · 0.65
setTestMethod · 0.65
dataMethod · 0.65
getRandomMethod · 0.65
dataMethod · 0.65
nullCollectionTestMethod · 0.65

Calls

no outgoing calls

Tested by 15

suggestMethod · 0.52
registerMethod · 0.52
tabCompleteMethod · 0.52
setTestMethod · 0.52
dataMethod · 0.52
getRandomMethod · 0.52
dataMethod · 0.52
nullCollectionTestMethod · 0.52
nullTokenTestMethod · 0.52
copyTokenTestMethod · 0.52
copyUnsupportedTestMethod · 0.52