Model of a class or interface that you can inspect.
The models of classes and interfaces are also closed types.
| Attributes | |
| declaration | Source Code shared formal ClassOrInterfaceDeclaration declaration The declaration for this class or interface. Refined declaration: declaration |
| extendedType | Source Code shared formal ClassModel<Anything,Nothing>? extendedType The extended closed type for this class or interface. Note that the Anything type has no extended type since it is the top of the type hierarchy. |
| satisfiedTypes | Source Code shared formal InterfaceModel<Anything>[] satisfiedTypes The list of closed types that this class or interface satisfies. |
| Inherited Attributes |
| Attributes inherited from: Object |
| Attributes inherited from: Generic |
| Attributes inherited from: Model |
| Methods | |
| getAttribute | Source Code shared formal Attribute<Container,Get,Set>? getAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name) Gets an attribute by name. Returns Throws:
|
| getClass | Source Code shared formal MemberClass<Container,Type,Arguments>? getClass<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, Type<Anything>[] types) Gets a member class by name. Returns Throws:
|
| getClassOrInterface | Source Code shared formal Member<Container,Kind>? getClassOrInterface<Container = Nothing, Kind = ClassOrInterface<Anything>>(String name, Type<Anything>[] types) Gets a member class or interface by name. Returns Throws:
|
| getDeclaredAttribute | Source Code shared formal Attribute<Container,Get,Set>? getDeclaredAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name) Gets an attribute by name. Returns Throws:
|
| getDeclaredClass | Source Code shared formal MemberClass<Container,Type,Arguments>? getDeclaredClass<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, Type<Anything>[] types) Gets a member class by name. Returns Throws:
|
| getDeclaredClassOrInterface | Source Code shared formal Member<Container,Kind>? getDeclaredClassOrInterface<Container = Nothing, Kind = ClassOrInterface<Anything>>(String name, Type<Anything>[] types) Gets a member class or interface by name. Returns Throws:
|
| getDeclaredInterface | Source Code shared formal MemberInterface<Container,Type>? getDeclaredInterface<Container = Nothing, Type = Anything>(String name, Type<Anything>[] types) Gets a member interface by name. Returns Throws:
|
| getDeclaredMethod | Source Code shared formal Method<Container,Type,Arguments>? getDeclaredMethod<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, Type<Anything>[] types) Gets a method by name. Returns Throws:
|
| getInterface | Source Code shared formal MemberInterface<Container,Type>? getInterface<Container = Nothing, Type = Anything>(String name, Type<Anything>[] types) Gets a member interface by name. Returns Throws:
|
| getMethod | Source Code shared formal Method<Container,Type,Arguments>? getMethod<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, Type<Anything>[] types) Gets a method by name. Returns Throws:
|
| Inherited Methods |
| Methods inherited from: Object |
| Methods inherited from: Type<Type> |