• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
And inside of my fortune cookie was this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!