get Type Elements From Package Safe
fun XProcessingEnv.getTypeElementsFromPackageSafe(packageName: String): List<XTypeElement>
Content copied to clipboard
A bug in XProcessing throws an NPE if the package is not found. This is a workaround until the library is fixed. Fix merged in https://github.com/androidx/androidx/pull/222 but waiting on the next release.