permissions.dispatcher.processor.exception.WrongClassException.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permissionsdispatcher-processor Show documentation
Show all versions of permissionsdispatcher-processor Show documentation
A declarative API to handle Android runtime permissions.
package permissions.dispatcher.processor.exception
import com.squareup.javapoet.TypeName
import javax.lang.model.type.TypeMirror
class WrongClassException(type: TypeMirror) : RuntimeException("Class '${TypeName.get(type)}' can't be annotated with '@RuntimePermissions'")