93 lines
3.1 KiB
Java
93 lines
3.1 KiB
Java
|
package c.g.a.c;
|
||
|
|
||
|
import c.g.a.b.j;
|
||
|
import c.g.a.b.t.d;
|
||
|
import c.g.a.c.c0.b0;
|
||
|
import c.g.a.c.c0.c;
|
||
|
import c.g.a.c.c0.d0;
|
||
|
import c.g.a.c.c0.q;
|
||
|
import c.g.a.c.c0.r;
|
||
|
import c.g.a.c.c0.w;
|
||
|
import c.g.a.c.g0.k;
|
||
|
import c.g.a.c.i0.p;
|
||
|
import c.g.a.c.z.a;
|
||
|
import c.g.a.c.z.g;
|
||
|
import c.g.a.c.z.l;
|
||
|
import c.g.a.c.z.m;
|
||
|
import java.io.Serializable;
|
||
|
import java.util.Collection;
|
||
|
import java.util.Map;
|
||
|
import java.util.Objects;
|
||
|
/* compiled from: SerializationConfig */
|
||
|
public final class v extends m<w, v> implements Serializable {
|
||
|
public static final j k = new d();
|
||
|
public static final int l = l.c(w.class);
|
||
|
private static final long serialVersionUID = 1;
|
||
|
public final j _defaultPrettyPrinter;
|
||
|
public final k _filterProvider;
|
||
|
public final int _formatWriteFeatures;
|
||
|
public final int _formatWriteFeaturesToChange;
|
||
|
public final int _generatorFeatures;
|
||
|
public final int _generatorFeaturesToChange;
|
||
|
public final int _serFeatures;
|
||
|
|
||
|
public v(v vVar, int i, int i2, int i3, int i4, int i5, int i6) {
|
||
|
super(vVar, i);
|
||
|
this._serFeatures = i2;
|
||
|
this._defaultPrettyPrinter = vVar._defaultPrettyPrinter;
|
||
|
this._generatorFeatures = i3;
|
||
|
this._generatorFeaturesToChange = i4;
|
||
|
this._formatWriteFeatures = i5;
|
||
|
this._formatWriteFeaturesToChange = i6;
|
||
|
}
|
||
|
|
||
|
public v(a aVar, c.g.a.c.e0.d dVar, d0 d0Var, p pVar, g gVar) {
|
||
|
super(aVar, dVar, d0Var, pVar, gVar);
|
||
|
this._serFeatures = l;
|
||
|
this._defaultPrettyPrinter = k;
|
||
|
this._generatorFeatures = 0;
|
||
|
this._generatorFeaturesToChange = 0;
|
||
|
this._formatWriteFeatures = 0;
|
||
|
this._formatWriteFeaturesToChange = 0;
|
||
|
}
|
||
|
|
||
|
/* Return type fixed from 'c.g.a.c.z.m' to match base method */
|
||
|
@Override // c.g.a.c.z.m
|
||
|
public v r(int i) {
|
||
|
return new v(this, i, this._serFeatures, this._generatorFeatures, this._generatorFeaturesToChange, this._formatWriteFeatures, this._formatWriteFeaturesToChange);
|
||
|
}
|
||
|
|
||
|
public c u(j jVar) {
|
||
|
w.c cVar;
|
||
|
r rVar = (r) this._base._classIntrospector;
|
||
|
q a = rVar.a(this, jVar);
|
||
|
if (a != null) {
|
||
|
return a;
|
||
|
}
|
||
|
boolean z2 = false;
|
||
|
if (jVar.v() && !(jVar instanceof c.g.a.c.h0.a)) {
|
||
|
Class<?> cls = jVar._class;
|
||
|
if (c.g.a.c.i0.d.r(cls) && (Collection.class.isAssignableFrom(cls) || Map.class.isAssignableFrom(cls))) {
|
||
|
z2 = true;
|
||
|
}
|
||
|
}
|
||
|
q e = z2 ? q.e(this, jVar, rVar.b(this, jVar, this)) : null;
|
||
|
if (e != null) {
|
||
|
return e;
|
||
|
}
|
||
|
c b = rVar.b(this, jVar, this);
|
||
|
if (jVar.A()) {
|
||
|
Objects.requireNonNull((w.b) this._base._accessorNaming);
|
||
|
cVar = new w.c(this, b);
|
||
|
} else {
|
||
|
w.b bVar = (w.b) this._base._accessorNaming;
|
||
|
cVar = new w(this, b, bVar._setterPrefix, bVar._getterPrefix, bVar._isGetterPrefix, bVar._baseNameValidator);
|
||
|
}
|
||
|
return new q(new b0(this, true, jVar, b, cVar));
|
||
|
}
|
||
|
|
||
|
public final boolean v(w wVar) {
|
||
|
return (wVar.g() & this._serFeatures) != 0;
|
||
|
}
|
||
|
}
|