Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: runtime/observatory/lib/src/models/objects/class.dart

Issue 2294073003: Converted Observatory class-view element (Closed)
Patch Set: Addressed comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of models; 5 part of models;
6 6
7 abstract class ClassRef extends ObjectRef { 7 abstract class ClassRef extends ObjectRef {
8 /// The name of this class. 8 /// The name of this class.
9 String get name; 9 String get name;
10 } 10 }
11 11
12 abstract class Class extends Object implements ClassRef { 12 abstract class Class extends Object implements ClassRef {
13 /// The error which occurred during class finalization, if it exists. 13 /// The error which occurred during class finalization, if it exists.
14 /// [optional] 14 /// [optional]
15 ErrorRef get error; 15 ErrorRef get error;
16 16
17 /// Is this an abstract class? 17 /// Is this an abstract class?
18 bool get isAbstract; 18 bool get isAbstract;
19 19
20 /// Is this a const class? 20 /// Is this a const class?
21 bool get isConst; 21 bool get isConst;
22 22
23 /// [internal] 23 /// [internal]
24 bool get isPatch; 24 bool get isPatch;
25 25
26 /// The library which contains this class. 26 /// [optional] The library which contains this class.
27 LibraryRef get library; 27 LibraryRef get library;
28 28
29 /// The location of this class in the source code.[optional] 29 /// [optional] The location of this class in the source code.
30 SourceLocation get location; 30 SourceLocation get location;
31 31
32 /// The superclass of this class, if any. [optional] 32 /// [optional] The superclass of this class, if any.
33 ClassRef get superclass; 33 ClassRef get superclass;
34 34
35 /// The supertype for this class, if any. 35 /// [optional]The supertype for this class, if any.
36 /// 36 ///
37 /// The value will be of the kind: Type. [optional] 37 /// The value will be of the kind: Type.
38 InstanceRef get superType; 38 InstanceRef get superType;
39 39
40 /// A list of interface types for this class. 40 /// A list of interface types for this class.
41 /// 41 ///
42 /// The values will be of the kind: Type. 42 /// The values will be of the kind: Type.
43 Iterable<InstanceRef> get interfaces; 43 Iterable<InstanceRef> get interfaces;
44 44
45 /// The mixin type for this class, if any. 45 /// The mixin type for this class, if any.
46 /// 46 ///
47 /// The value will be of the kind: Type. [optional] 47 /// [optional] The value will be of the kind: Type.
48 InstanceRef get mixin; 48 InstanceRef get mixin;
49 49
50 /// A list of fields in this class. Does not include fields from 50 /// A list of fields in this class. Does not include fields from
51 /// superclasses. 51 /// superclasses.
52 //List<FieldRef> get fields; 52 Iterable<FieldRef> get fields;
53 53
54 /// A list of functions in this class. Does not include functions 54 /// A list of functions in this class. Does not include functions
55 /// from superclasses. 55 /// from superclasses.
56 //List<FunctionRef> get functions; 56 Iterable<FunctionRef> get functions;
57 57
58 // A list of subclasses of this class. 58 // A list of subclasses of this class.
59 Iterable<ClassRef> get subclasses; 59 Iterable<ClassRef> get subclasses;
60
61 bool get hasAllocations;
62 bool get hasNoAllocations;
63
64 Allocations get newSpace;
65 Allocations get oldSpace;
66
67 bool get traceAllocations;
60 } 68 }
69
70 abstract class InstanceSet {
71 int get count;
72 Iterable<ObjectRef> get samples;
73 }
74
75 abstract class TopRetainedInstances {
76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698