Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

SlimEnum - is the enum as we know it...

Posts: 2
Scala IntelliJ IDE C++
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SlimEnum - is the enum as we know it, a fat-free alternative to Java enums.. It was created as part of java source code, generated by the BlackBox. SlimEnum utilize annotations construction, but in contrast with Android  IntDef it fill annotation body with constants to provide required enum functionality over any, even primitive(byte,int..etc.), data types.
SlimEnum uses annotation declaration with defined constant in their body, as named constants set for certain type. Constants type is define to which type this constants set can be applied. SlimEnum can be nested.

apply it to variables, fields, methods return type and method arguments

and use it

To bring support SlimEnum to the IDE and make using it easy and efficiently SlimEnum plugin for Android Studio / IDEA was created. It is available in the Intellij plugin repository.
SlimEnum plugin can recognize applied to variables annotation, data type, and provide correct constants set for the code completion.

Compile by yourself or just download SlimEnum.jar and install as plugin to the
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic