Skip to content

Tag: annotations

JML specification in the interface and the implementing class

I am a bit new to java and so while programming i have noticed that i have to give JML annotations to my subroutines. As i was working with object-oriented programming i have noticed the use of interfaces and that i have to declare the method there with JML specification, the questions is, when after i have m…

Composite annotations to reuse

we have couple of annotations, for springboot controller method. and these are mostly reused in multiple methods. combine as Is there a way we can create a composite annotation ? I know we might as well add a new one which encapsulates these, but at times this is not possible. Just trying to reuse these bunch…