permissions.dispatcher.processor.exception.DuplicatedMethodNameException.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 permissions.dispatcher.processor.util.simpleString
import javax.lang.model.element.ExecutableElement
class DuplicatedMethodNameException(e: ExecutableElement) : RuntimeException("'${e.simpleString()}()' has duplicated '@NeedsPermission' method. The method annotated with '@NeedsPermission' must has the unique name.")