public class StackTraceElementFactory extends Object implements JsonReader.ClassFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_LOADER_NAME |
static String |
DECLARING_CLASS |
static String |
FILE_NAME |
static String |
LINE_NUMBER |
static String |
METHOD_NAME |
static String |
MODULE_NAME |
static String |
MODULE_VERSION |
| Constructor and Description |
|---|
StackTraceElementFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isObjectFinal() |
Object |
newInstance(Class<?> c,
JsonObject jObj,
ReaderContext context)
Implement this method to return a new instance of the passed in Class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgatherRemainingValues, newInstancepublic static final String DECLARING_CLASS
public static final String METHOD_NAME
public static final String FILE_NAME
public static final String LINE_NUMBER
public static final String CLASS_LOADER_NAME
public static final String MODULE_NAME
public static final String MODULE_VERSION
public Object newInstance(Class<?> c, JsonObject jObj, ReaderContext context)
JsonReader.ClassFactorynewInstance in interface JsonReader.ClassFactoryc - Class of the object that needs to be createdjObj - JsonObject (if primitive type do jObj.getPrimitiveValue();context - ReaderContext for creating objects an getting read optionspublic boolean isObjectFinal()
isObjectFinal in interface JsonReader.ClassFactoryCopyright © 2023. All rights reserved.