public class TopLevelObject
Encapsulates an object to use as a target for schema generation and the class to be used for reflection.
Constructor and Description |
---|
TopLevelObject(java.lang.Object obj,
kotlin.reflect.KClass<?> kClass)
Encapsulates an object to use as a target for schema generation and the
class to be used for reflection.
|
TopLevelObject(java.lang.Object obj) |
TopLevelObject(kotlin.reflect.KClass<?> kClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
component1()
The target object
|
kotlin.reflect.KClass<?> |
component2()
Optional KClass of the target
|
TopLevelObject |
copy(java.lang.Object obj,
kotlin.reflect.KClass<?> kClass)
Encapsulates an object to use as a target for schema generation and the
class to be used for reflection.
|
boolean |
equals(java.lang.Object p) |
kotlin.reflect.KClass<?> |
getKClass()
Optional KClass of the target
|
java.lang.Object |
getObj()
The target object
|
int |
hashCode() |
java.lang.String |
toString() |
public TopLevelObject(java.lang.Object obj, kotlin.reflect.KClass<?> kClass)
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)kClass
- Optional KClass of the target (or the proxied object)obj
- The target object (or proxy to target object)kClass
- Optional KClass of the target (or the proxied object)public TopLevelObject(java.lang.Object obj)
public TopLevelObject(kotlin.reflect.KClass<?> kClass)
public java.lang.Object getObj()
The target object
(or proxy to target object)
public kotlin.reflect.KClass<?> getKClass()
Optional KClass of the target
(or the proxied object)
public java.lang.Object component1()
The target object
(or proxy to target object)
public kotlin.reflect.KClass<?> component2()
Optional KClass of the target
(or the proxied object)
public TopLevelObject copy(java.lang.Object obj, kotlin.reflect.KClass<?> kClass)
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)kClass
- Optional KClass of the target (or the proxied object)public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)