UnquietCode / JCodeModel

Fork of the com.sun.codemodel project from the java.net / GlassFish
Other
12 stars 5 forks source link

Support for jdk 8 default methods #12

Open mattbishop opened 9 years ago

mattbishop commented 9 years ago

Interfaces can have default methods now in JDK 8. I cannot define them in JCodeModel because 'default' isn't a thing as a modifier or otherwise in JDefinedClass or JMethod.

phax commented 8 years ago

Alternatively you may have a look at https://github.com/phax/jcodemodel/ where this is already contained :)