blob: 8dcb0f3ec6cd7042d114eb76c83e2da6796c399b (
plain) (
tree)
|
|
object Test {
def main(args: Array[String]) {
class Foo(val a: Int, val b: Int, val c: Int)
import scala.reflect.runtime.{currentMirror => cm}
val decls = cm.classSymbol(classOf[Foo]).info.decls
decls.sorted.toList.filter(!_.isMethod) foreach System.out.println
}
}
|