Index: runtime/observatory/lib/src/elements/instance_view.html |
diff --git a/runtime/observatory/lib/src/elements/instance_view.html b/runtime/observatory/lib/src/elements/instance_view.html |
index f54059f22c45aca6f25e8d5510ad880826a1a5a2..77e84f9612c466ef1ebf9c6194faba84807a87ad 100644 |
--- a/runtime/observatory/lib/src/elements/instance_view.html |
+++ b/runtime/observatory/lib/src/elements/instance_view.html |
@@ -69,6 +69,57 @@ |
</div> |
</div> |
</template> |
+ <template if="{{ instance.typeArguments.length > 0 }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">type arguments</div> |
+ <div class="memberValue"> |
+ < |
+ <template repeat="{{ index in instance.typeArguments['types'].asMap().keys }}"> |
+ <instance-ref ref="{{ instance.typeArguments['types'][index] }}"> |
+ </instance-ref> |
+ <template if="{{ index < instance.typeArguments['types'].length - 1 }}"> |
+ , |
+ </template> |
+ </template> |
+ > |
+ </div> |
+ </div> |
+ </template> |
+ <template if="{{ instance.parameterizedClass != null }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">parameterized class</div> |
+ <div class="memberValue"> |
+ <class-ref ref="{{ instance.parameterizedClass }}"> |
+ </class-ref> |
+ </div> |
+ </div> |
+ </template> |
+ <template if="{{ instance.parameterIndex != null }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">parameter index</div> |
+ <div class="memberValue"> |
+ {{ instance.parameterIndex }} |
+ </div> |
+ </div> |
+ </template> |
+ <template if="{{ instance.targetType != null }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">target type</div> |
+ <div class="memberValue"> |
+ <instance-ref ref="{{ instance.targetType }}"> |
+ </instance-ref> |
+ </div> |
+ </div> |
+ </template> |
+ <template if="{{ instance.bound != null }}"> |
+ <div class="memberItem"> |
+ <div class="memberName">bound</div> |
+ <div class="memberValue"> |
+ <instance-ref ref="{{ instance.bound }}"> |
+ </instance-ref> |
+ </div> |
+ </div> |
+ </template> |
<template if="{{ instance.isClosure }}"> |
<div class="memberItem"> |
@@ -109,6 +160,12 @@ |
<eval-link callback="{{ evaluate }}" expr="toString()"></eval-link> |
</div> |
</div> |
+ <div class="memberItem"> |
+ <div class="memberName">runtimeType</div> |
+ <div class="memberValue"> |
+ <eval-link callback="{{ evaluate }}" expr="runtimeType"></eval-link> |
+ </div> |
+ </div> |
</div> |
</div> |
@@ -300,6 +357,9 @@ |
<template if="{{ instance.isClosure }}"> |
<source-inset location="{{ instance.function.location }}"></source-inset> |
</template> |
+ <template if="{{ instance.typeClass != null }}"> |
+ <source-inset location="{{ instance.typeClass.location }}"></source-inset> |
+ </template> |
</div> |
</template> |