ParameterizedElementType class

Inheritance
Implementers

Constructors

ParameterizedElementType(ParameterizedType type, Library library, PackageGraph packageGraph, ModelElement element, ElementType returnedFrom)

Properties

canHaveParameters bool
read-only, inherited
element Element
read-only, inherited
fullyQualifiedName String
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
instantiatedType DartType
Return this type, instantiated to bounds if it isn't already.
read-only, inherited
isParameterType bool
read-only, inherited
isPublic bool
This type is a public type if the underlying, canonical element is public. This avoids discarding the resolved type information as canonicalization would ordinarily do.
read-only, inherited
isTypedef bool
read-only, inherited
library Library
final, inherited
linkedName String
read-only, override
modelElement ModelElement
read-only, inherited
name String
read-only, inherited
namePart String
Utility getter/cache for _MarkdownCommentReference._getResultsForClass.
read-only, inherited
namePieces Set<String>
read-only, inherited
nameWithGenerics String
Name with generics and nullability indication.
read-only, override
nullabilitySuffix String
Return a dartdoc nullability suffix for this type.
read-only, inherited
packageGraph PackageGraph
final, inherited
parameters List<Parameter>
An unmodifiable list of this element type's parameters.
read-only, inherited
referenceChildren Map<String, CommentReferable>
Map of name to the elements that are a member of this, but not this model element itself. Can be cached.
read-only, inherited
referenceParents Iterable<CommentReferable>
Iterable of immediate "parents" to try resolving component parts. referenceBy stops at the first parent where a part is found. Can be cached.
read-only, inherited
returnedFrom ElementType
final, inherited
returnElement ModelElement
read-only, inherited
returnType ElementType
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type DartType
read-only, inherited
typeArguments Iterable<ElementType>
An unmodifiable list of this element type's parameters.
read-only, inherited

Methods

childLookups(List<String> reference) List<ReferenceChildrenLookup>
A list of lookups that should be attempted on children based on reference. This allows us to deal with libraries that may have separators in them. referenceBy stops at the first one found.
inherited
isBoundSupertypeTo(ElementType t) bool
Returns true if at least one supertype (including via mixins and interfaces) is equivalent to or a subtype of this when instantiated to bounds.
inherited
isSubtypeOf(ElementType t) bool
The instantiated to bounds type of this type is a subtype of t.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
referenceBy(List<String> reference, {bool tryParents = true, bool filter(CommentReferable)}) → CommentReferable
Look up a comment reference by its component parts. If tryParents is true, try looking up the same reference in any parents of this. Will skip over results that do not pass a given filter and keep searching.
@nonVirtual, inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited