本文整理汇总了Scala中scala.annotation.meta.param类的典型用法代码示例。如果您正苦于以下问题:Scala param类的具体用法?Scala param怎么用?Scala param使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了param类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Scala代码示例。
示例1: JacksonAnnotations
//设置package包名称以及导入依赖的类
package webby.commons.io.jackson
import com.fasterxml.jackson.annotation.JsonAutoDetect
import scala.annotation.meta.{field, getter, param}
object JacksonAnnotations {
// @formatter:off
type JsonAutoDetect = com.fasterxml.jackson.annotation.JsonAutoDetect @param @field @getter
type JsonDeserialize = com.fasterxml.jackson.databind.annotation.JsonDeserialize @param @field @getter
type JsonFormat = com.fasterxml.jackson.annotation.JsonFormat @param @field @getter
type JsonIgnore = com.fasterxml.jackson.annotation.JsonIgnore @param @field @getter
type JsonIgnoreProperties = com.fasterxml.jackson.annotation.JsonIgnoreProperties @param @field @getter
type JsonInclude = com.fasterxml.jackson.annotation.JsonInclude @param @field @getter
type JsonProperty = com.fasterxml.jackson.annotation.JsonProperty @param @field @getter
type JsonRawValue = com.fasterxml.jackson.annotation.JsonRawValue @param @field @getter
type JsonRootName = com.fasterxml.jackson.annotation.JsonRootName @param @field @getter
type JsonSerialize = com.fasterxml.jackson.databind.annotation.JsonSerialize @param @field @getter
type JsonTypeInfo = com.fasterxml.jackson.annotation.JsonTypeInfo @param @field @getter
type JsonUnwrapped = com.fasterxml.jackson.annotation.JsonUnwrapped @param @field @getter
// @formatter:on
@JsonAutoDetect(getterVisibility = JsonAutoDetect.Visibility.NONE,
isGetterVisibility = JsonAutoDetect.Visibility.NONE,
setterVisibility = JsonAutoDetect.Visibility.NONE,
creatorVisibility = JsonAutoDetect.Visibility.NONE,
fieldVisibility = JsonAutoDetect.Visibility.NONE)
trait JsonDisableAutodetect
}