Package manifold.api.json.codegen
Class JsonBasicType
- java.lang.Object
-
- manifold.api.json.codegen.JsonBasicType
-
-
Constructor Summary
Constructors Constructor Description JsonBasicType(Type type, TypeAttributes typeAttributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>box()IJsonTypecopyWithAttributes(TypeAttributes attributes)booleanequals(Object o)static JsonBasicTypeget(Object jsonObj)StringgetIdentifier()TypegetJsonType()StringgetName()IJsonParentTypegetParent()TypeAttributesgetTypeAttributes()inthashCode()booleanisPrimitive()IJsonTypemerge(IJsonType that)-
Methods inherited from class java.lang.Object
clone, emptyArray, finalize, getClass, jailbreak, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface manifold.api.json.codegen.IJsonType
equalsStructurally, getDefinitions, setDefinitions
-
-
-
-
Constructor Detail
-
JsonBasicType
public JsonBasicType(Type type, TypeAttributes typeAttributes)
-
-
Method Detail
-
isPrimitive
public boolean isPrimitive()
-
box
public Class<?> box()
-
get
public static JsonBasicType get(Object jsonObj)
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceIJsonType
-
getJsonType
public Type getJsonType()
-
getParent
public IJsonParentType getParent()
-
getTypeAttributes
public TypeAttributes getTypeAttributes()
- Specified by:
getTypeAttributesin interfaceIJsonType
-
copyWithAttributes
public IJsonType copyWithAttributes(TypeAttributes attributes)
- Specified by:
copyWithAttributesin interfaceIJsonType
-
-