Package jadx.core.xmlgen.entry
Class ResourceEntry
java.lang.Object
jadx.core.xmlgen.entry.ResourceEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final intprivate final Stringprivate List<RawNamedValue> private intprivate final Stringprivate ProtoValueprivate RawValueprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionResourceEntry(int id, String pkgName, String typeName, String keyName, String config) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithId(String resName) intgetId()32 bit resource ID as defined in AOSP.intvoidsetNamedValues(List<RawNamedValue> namedValues) voidsetParentRef(int parentRef) voidsetProtoValue(ProtoValue protoValue) voidsetSimpleValue(RawValue simpleValue) toString()
-
Field Details
-
id
private final int id -
pkgName
-
typeName
-
keyName
-
config
-
parentRef
private int parentRef -
protoValue
-
simpleValue
-
namedValues
-
-
Constructor Details
-
ResourceEntry
-
-
Method Details
-
copy
-
copyWithId
-
getId
public int getId()32 bit resource ID as defined in AOSP.- Package ID (8 bit)
- Type ID (8 bit)
- Entry ID (16 bit)
make_resid()in ResourceUtils.h- Returns:
- resource ID
-
getPkgName
-
getTypeName
-
getKeyName
-
getConfig
-
setParentRef
public void setParentRef(int parentRef) -
getParentRef
public int getParentRef() -
getProtoValue
-
setProtoValue
-
getSimpleValue
-
setSimpleValue
-
setNamedValues
-
getNamedValues
-
toString
-