1 package net.pterodactylus.sone.web.page
3 import net.pterodactylus.util.web.*
5 annotation class MenuName(val value: String)
7 val Page<*>.menuName get() = javaClass.getAnnotation(MenuName::class.java)?.value
9 annotation class TemplatePath(val value: String)
11 val Page<*>.templatePath get() = javaClass.getAnnotation(TemplatePath::class.java)?.value
13 annotation class ToadletPath(val value: String)
15 val Page<*>.toadletPath get() = javaClass.getAnnotation(ToadletPath::class.java)?.value