use of com.taobao.android.dex.EncodedValue in project atlas by alibaba.
the class IndexMap method adjustEncodedArray.
public EncodedValue adjustEncodedArray(EncodedValue encodedArray) {
ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32);
new EncodedValueTransformer(out).transformArray(new EncodedValueReader(encodedArray, ENCODED_ARRAY));
return new EncodedValue(out.toByteArray());
}
use of com.taobao.android.dex.EncodedValue in project atlas by alibaba.
the class IndexMap method adjust.
public Annotation adjust(Annotation annotation) {
ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32);
new EncodedValueTransformer(out).transformAnnotation(annotation.getReader());
return new Annotation(target, annotation.getVisibility(), new EncodedValue(out.toByteArray()));
}
use of com.taobao.android.dex.EncodedValue in project atlas by alibaba.
the class IndexMap method adjustEncodedValue.
public EncodedValue adjustEncodedValue(EncodedValue encodedValue) {
ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(32);
new EncodedValueTransformer(out).transform(new EncodedValueReader(encodedValue));
return new EncodedValue(out.toByteArray());
}
Aggregations