@ApiStatus.Internal
public class ArgProvider<T>
extends java.lang.Object
| Constructor and Description |
|---|
ArgProvider(java.lang.Class<T> type,
ArgumentProvider<T> provider,
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> requiredAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doAnnotationsMatch(@Nullable java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> annotations) |
ArgumentProvider<T> |
provider() |
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
requiredAnnotations() |
java.lang.Class<T> |
type() |
static @NotNull ArgProvider<?> |
unsafe(@NotNull java.lang.Class<?> type,
@NotNull ArgumentProvider<?> provider,
@NotNull java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> requiredAnnotations) |
public ArgProvider(java.lang.Class<T> type, ArgumentProvider<T> provider, java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> requiredAnnotations)
@ApiStatus.Internal @NotNull @Contract(value="_, _, _ -> new") public static @NotNull ArgProvider<?> unsafe(@NotNull @NotNull java.lang.Class<?> type, @NotNull @NotNull ArgumentProvider<?> provider, @NotNull @NotNull java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> requiredAnnotations)
public boolean doAnnotationsMatch(@Nullable
@Nullable java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> annotations)
public java.lang.Class<T> type()
public ArgumentProvider<T> provider()
public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> requiredAnnotations()