I want to generate an interface with non-default methods. For this purpose I'm using the JvmTypesBuilder.
The code
meth.toMethod(meth.name, meth.returnType)[]
generates for example
public default int meth();
Trying it with
meth.toMethod(meth.name, meth.returnType)[
it.^default = false
]
doesn't change anything.
Setting it abstract works
meth.toMethod(meth.name, meth.returnType)[
it.abstract = true
]
but then I get a method like
public abstract int meth();
what I don't want either.
Is there any way using JvmTypesBuilder and generate a method without default or abstract keywords?
public int meth();
I'm using Eclipse 4.5.1 for DSL Developer