1
import language.experimental.macros
2
import scala.reflect.macros.Context
5
def impl(c: Context) = {
6
val decls = c.typeOf[ScalaClassWithCheckedExceptions_1[_]].declarations.toList
7
val s = decls.sortBy(_.name.toString).map(decl => (s"${decl.name}: ${decl.annotations}")).mkString(scala.compat.Platform.EOL)
8
c.universe.reify(println(c.literal(s).splice))
b'\\ No newline at end of file'