public class QueryUtils extends Object
Constructor and Description |
---|
QueryUtils() |
Modifier and Type | Method and Description |
---|---|
static <U> Class<U> |
checkAssignableFrom(Class<U> givenType,
Class<?>... types)
Check whether
givenType is assignable from any of the types |
public static <U> Class<U> checkAssignableFrom(Class<U> givenType, Class<?>... types)
givenType
is assignable from any of the types
U
- the type of givenType
givenType
- the type to checktypes
- the possible types givenType
should be assignable from.givenType
if it is assignable from any of the types.IllegalArgumentException
- if givenType
is not assignable to any of the types.Copyright © 2020 Atlassian. All rights reserved.