예제 #1
0
 public ClassInfo(ReferenceTypeId typeId, string signature, string genericSignature, Jdwp.ClassStatus status)
 {
     TypeId = typeId;
     Signature = signature;
     GenericSignature = genericSignature;
     Status = status;
 }
예제 #2
0
 /// <summary>
 /// Sets the status of the class.
 /// </summary>
 internal void SetStatusIfNull(Jdwp.ClassStatus value)
 {
     if (!status.HasValue)
     {
         status = value;
     }
 }
예제 #3
0
 public ClassInfo(ReferenceTypeId typeId, string signature, string genericSignature, Jdwp.ClassStatus status)
 {
     TypeId           = typeId;
     Signature        = signature;
     GenericSignature = genericSignature;
     Status           = status;
 }
예제 #4
0
 /// <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);
     }
 }