| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index fb0cb8ac8d2030cc75d265c40352dab3627ed6f2..387b7342767efaa66ede3877fb27bd9e3b949900 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -709,6 +709,14 @@ class Class : public Object {
|
| // in superclass clauses.
|
| RawAbstractType* RareType() const;
|
|
|
| + // Return the Type whose arguments are the type parameters declared by this
|
| + // class preceded by the type arguments declared for superclasses, etc.
|
| + // e.g. given
|
| + // class B<T, S>
|
| + // class C<R> extends B<R, int>
|
| + // C.DeclarationType() --> C [R, int, R]
|
| + RawAbstractType* DeclarationType() const;
|
| +
|
| RawLibrary* library() const { return raw_ptr()->library_; }
|
| void set_library(const Library& value) const;
|
|
|
|
|