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, wait
gatherRemainingValues, newInstance
public 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.ClassFactory
newInstance
in interface JsonReader.ClassFactory
c
- 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.ClassFactory
Copyright © 2024. All rights reserved.