they can be used whenever the class is in scope. e...
# announcements
k
they can be used whenever the class is in scope. e.g.
Copy code
class Foo {
    String.bar() = ""
}

with(Foo()) {
    "a".bar()
}