groovy

Groovy (beta) code posted by test
created at 14 Feb 21:38

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package example.app

import example.lib.Baz

@CompileStatic
class Foo extends Bar {
    private final Baz baz # <1>
    private final String name

    @Inject # <2>
    Foo(final Bar bar, final String name) { # <3>
       super(bar) # <4>
       this.name = name
    }
}
286 Bytes in 2 ms with coderay