alexandroid/decompiled/jadx/sources/org/codehaus/jackson/JsonStreamContext.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

44 lines
1.1 KiB
Java

package org.codehaus.jackson;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes11.dex */
public abstract class JsonStreamContext {
protected static final int TYPE_ARRAY = 1;
protected static final int TYPE_OBJECT = 2;
protected static final int TYPE_ROOT = 0;
protected int _index;
protected int _type;
public final int getCurrentIndex() {
int i = this._index;
if (i < 0) {
return 0;
}
return i;
}
public abstract String getCurrentName();
public final int getEntryCount() {
return this._index + 1;
}
public abstract JsonStreamContext getParent();
public final String getTypeDesc() {
int i = this._type;
return i != 0 ? i != 1 ? i != 2 ? "?" : "OBJECT" : "ARRAY" : "ROOT";
}
public final boolean inArray() {
return this._type == 1;
}
public final boolean inObject() {
return this._type == 2;
}
public final boolean inRoot() {
return this._type == 0;
}
}