public ClassInfo(ReferenceTypeId typeId, string signature, string genericSignature, Jdwp.ClassStatus status) { TypeId = typeId; Signature = signature; GenericSignature = genericSignature; Status = status; }
/// <summary> /// Sets the status of the class. /// </summary> internal void SetStatusIfNull(Jdwp.ClassStatus value) { if (!status.HasValue) { status = value; } }
public ClassInfo(ReferenceTypeId typeId, string signature, string genericSignature, Jdwp.ClassStatus status) { TypeId = typeId; Signature = signature; GenericSignature = genericSignature; Status = status; }
/// <summary> /// Update the info of a given class. /// </summary> private void ProcessClassData(ReferenceTypeId typeId, string signature, Jdwp.ClassStatus status) { lock (dataLock) { DalvikReferenceType refType; if (!classes.TryGetValue(typeId, out refType)) { // Not found, create new one refType = CreateReferenceType(typeId); classes[typeId] = refType; } refType.SetSignatureIfNull(signature); refType.SetStatusIfNull(status); } }