-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Milestone
Description
I need this:
static @NotNull Optional<Constructor<?>> getConstructor(@NotNull Class<?> declarer,
Class<?> @NotNull ... parameters) {
try {
return Optional.of(declarer.getDeclaredConstructor(parameters));
} catch (NoSuchMethodException ignore) {
return Optional.empty();
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels