Skip to content

Safely get the value of an Enum without the hassle of handling exceptions

License

Notifications You must be signed in to change notification settings

smac89/safeenum

Repository files navigation

SafeEnum

Installation

build.gradle

plugins {
  id "com.github.smac89.aspectj" version "0.1.2" // Or any plugin for aspects
}

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    compileOnly 'com.github.smac89:safeenum:v0.3.0'
}

Usage

See the tests