AugmentedClassElement class abstract

The result of applying augmentations to a ClassElement.

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

AugmentedClassElement()

Properties

accessors List<PropertyAccessorElement>
The accessors (getters and setters) declared in this element.
no setterinherited
constructors List<ConstructorElement>
The constructors declared in this element.
no setterinherited
fields List<FieldElement>
The fields declared in this element.
no setterinherited
firstFragment ClassElement
The declaration (not augmentation) that owns this result.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
interfaces List<InterfaceType>
The interfaces implemented by this element.
no setterinherited
metadata List<ElementAnnotation>
The metadata associated with this element.
no setterinherited
methods List<MethodElement>
The methods declared in this element.
no setterinherited
mixins List<InterfaceType>
The mixins applied by this class or in its augmentations.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thisType InterfaceType
The type of this expression.
no setterinherited
unnamedConstructor ConstructorElement?
The unnamed constructor from constructors.
no setterinherited

Methods

getField(String name) FieldElement?
Returns the field from fields that has the given name.
inherited
getGetter(String name) PropertyAccessorElement?
Returns the getter from accessors that has the given name.
inherited
getMethod(String name) MethodElement?
Returns the method from methods that has the given name.
inherited
getNamedConstructor(String name) ConstructorElement?
Returns the constructor from constructors that has the given name.
inherited
getSetter(String name) PropertyAccessorElement?
Returns the setter from accessors that has the given name.
inherited
lookUpGetter({required String name, required LibraryElement library}) PropertyAccessorElement?
Returns the element representing the getter that results from looking up the given name in this class with respect to the given library, or null if the look up fails.
inherited
lookUpMethod({required String name, required LibraryElement library}) MethodElement?
Returns the element representing the method that results from looking up the given name in this class with respect to the given library, or null if the look up fails.
inherited
lookUpSetter({required String name, required LibraryElement library}) PropertyAccessorElement?
Returns the element representing the setter that results from looking up the given name in this class with respect to the given library, or null if the look up fails.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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