23 lines
485 B
Java
23 lines
485 B
Java
package com.squareup.haha.perflib;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Value {
|
|
private final Instance instance;
|
|
private Object mValue;
|
|
|
|
public Value(Instance instance) {
|
|
this.instance = instance;
|
|
}
|
|
|
|
public Object getValue() {
|
|
return this.mValue;
|
|
}
|
|
|
|
public void setValue(Object obj) {
|
|
this.mValue = obj;
|
|
if (obj instanceof Instance) {
|
|
((Instance) obj).addReference(null, this.instance);
|
|
}
|
|
}
|
|
}
|