public class TopLevelObjectDef
Encapsulates an object to use as a target for schema generation and the class to be used for reflection.
Constructor and Description |
---|
TopLevelObjectDef(java.lang.Object obj,
kotlin.reflect.KClass<?> klazz)
Encapsulates an object to use as a target for schema generation and the
class to be used for reflection.
|
Modifier and Type | Method and Description |
---|---|
kotlin.reflect.KClass<?> |
getKlazz()
Optional class of the target
|
java.lang.Object |
getObj()
The target object
|
public TopLevelObjectDef(java.lang.Object obj, kotlin.reflect.KClass<?> klazz)
Encapsulates an object to use as a target for schema generation and the class to be used for reflection.
obj
- The target object (or proxy to target object)klazz
- Optional class of the target (or the proxied object)obj
- The target object (or proxy to target object)klazz
- Optional class of the target (or the proxied object)