Added support for the null encoded literal

git-svn-id: https://smali.googlecode.com/svn/trunk@188 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-20 22:23:44 +00:00
parent 1f610d0c9b
commit 280fc21738

View File

@ -66,7 +66,7 @@ public abstract class EncodedValueAdaptor {
EncodedIndexedItemReference methodEncodedReference = (EncodedIndexedItemReference)encodedValue.getValue();
return new EncodedIndexedItemAdaptor(new MethodReference((MethodIdItem)methodEncodedReference.getValue()));
case VALUE_NULL:
return null;
return new SimpleEncodedValueAdaptor("null");
case VALUE_SHORT:
return new SimpleEncodedValueAdaptor(((ShortEncodedValueSubField)encodedValue.getValue()).getValue());
case VALUE_STRING: