public class JsonClassMeta extends ExtendedClassMeta
@Json
annotation on
the class.Constructor and Description |
---|
JsonClassMeta(ClassMeta<?> cm,
JsonMetaProvider mp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Json |
getAnnotation()
Returns the
@Json annotation defined on the class. |
protected String |
getWrapperAttr()
Returns the
@Json(wrapperAttr) annotation defined on the class. |
getClassMeta, getInnerClass
public JsonClassMeta(ClassMeta<?> cm, JsonMetaProvider mp)
cm
- The class that this annotation is defined on.mp
- JSON metadata provider (for finding information about other artifacts).protected Json getAnnotation()
@Json
annotation defined on the class.protected String getWrapperAttr()
@Json(wrapperAttr)
annotation defined on the class.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.