/** * Creates a new list that describes the parameters of the given {@link Constructor}. * * @param constructor The constructor for which the parameters should be described. * @return A list describing the constructor's parameters. */ public static ParameterList<ParameterDescription.InDefinedShape> of(Constructor<?> constructor) { return of(constructor, new ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor(constructor)); }