isTypeProvidedInCurrentLibc
static boolean isTypeProvidedInCurrentLibc(Class<?> clazz)
Checks if the type is provided in the current libc implementation.
A type is regarded a provided in the current libc implementation if it is annotated and the
current libc implementation is listed in the annotation. If the type is not annotated, then
the above check is successively applied to the enclosing types, if they exist. Finally, if
the class is in a package, the above check is applied. If the package does not exist or is
not annotated, the type is regarded as provided.
- Parameters:
clazz
- Type to check if contained in the current libc implementation.
- Returns:
- true if contained in the current libc implementation, false otherwise.