All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.perfectable.introspection.query.ExecutableQuery Maven / Gradle / Ivy

There is a newer version: 5.1.0
Show newest version
package org.perfectable.introspection.query;

import java.lang.reflect.Executable;
import java.lang.reflect.Type;

import static java.util.Objects.requireNonNull;

abstract class ExecutableQuery>
		extends MemberQuery {

	public abstract Q parameters(ParametersFilter parametersFilter);

	public Q parameters(Type... parameterTypes) {
		requireNonNull(parameterTypes);
		return parameters(ParametersFilter.typesAccepted(parameterTypes));
	}

	public Q parameterCount(int parameterCount) {
		return parameters(ParametersFilter.count(parameterCount));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy