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 |
---|---|
java.lang.Object |
component1()
The target object
|
kotlin.reflect.KClass<?> |
component2()
Optional class of the target
|
TopLevelObjectDef |
copy(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.
|
boolean |
equals(java.lang.Object p) |
kotlin.reflect.KClass<?> |
getKlazz()
Optional class of the target
|
java.lang.Object |
getObj()
The target object
|
int |
hashCode() |
java.lang.String |
toString() |
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)public java.lang.Object getObj()
The target object
(or proxy to target object)
public kotlin.reflect.KClass<?> getKlazz()
Optional class 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 class of the target
(or the proxied object)
public TopLevelObjectDef copy(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)public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)