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

io.smallrye.reactive.messaging.MethodParameterDescriptor Maven / Gradle / Ivy

The newest version!
package io.smallrye.reactive.messaging;

import java.util.List;

/**
 * Represents the types of the method parameters and associated generic parameter if any.
 *
 * If will only represent the generic of level 1. For example, if the parameter is {@code Optional>},
 * {@link #getTypes()} returns {@code [java.util.Optional]},
 * and {@link #getGenericParameterType(int, int) getGenericParameterType(0, 0)} returns {@code List}
 */
public interface MethodParameterDescriptor {

    List> getTypes();

    Class getGenericParameterType(int paramIndex, int genericIndex);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy