Reflector class
Properties
-
annotatedClasses
→ Iterable<ClassMirror>
-
Returns an Iterable of all the classes that can be reflected over in
this
Reflectable
.
no setterinherited
-
capabilities
→ List<ReflectCapability>
-
Specifies limits on the support for reflective operations on instances
of classes having an instance of this ReflectableBase as metadata.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
libraries
→ Map<Uri, LibraryMirror>
-
Returns a map of all libraries in the current isolate.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canReflect(Object reflectee)
→ bool
-
Returns true if this reflector has capabilities for the given instance.
inherited
-
canReflectType(Type type)
→ bool
-
Returns true if this reflector has capabilities for the given Type.
inherited
-
findLibrary(String libraryName)
→ LibraryMirror
-
Returns a mirror of the given library
library
.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reflect(Object reflectee)
→ InstanceMirror
-
Returns a mirror of the given object
reflectee
.
inherited
-
reflectType(Type type)
→ TypeMirror
-
Returns a mirror of the given type
type
.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited