io.github.parzivalExe.guiApi.antlr.interfaces.XMLAttribute.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiapi-mc1.8 Show documentation
Show all versions of guiapi-mc1.8 Show documentation
With GuiAPI you can create Guis for your Bukkit/Spigot-Plugin in seconds while at the same time saving many lines of code
The newest version!
package io.github.parzivalExe.guiApi.antlr.interfaces
import io.github.parzivalExe.guiApi.antlr.converter.Converter
import io.github.parzivalExe.guiApi.antlr.converter.NoConverter
import kotlin.reflect.KClass
@Suppress("unused")
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD)
annotation class XMLAttribute(val necessary: Boolean = false, val attrName: String = "", val defaultValue: String = "*", val converter:KClass = NoConverter::class, val forceEndType: KClass<*> = NoForceEndType::class)