Satisfied Interfaces: Generic, Model, Type<Type>
Direct Known Satisfying Interfaces: ClassModel<Type,Arguments>, InterfaceModel<Type>

Model of a class or interface that you can inspect.

The models of classes and interfaces are also closed types.

Attributes
declarationSource Code
shared formal ClassOrInterfaceDeclaration declaration

The declaration for this class or interface.

Refined declaration: declaration
extendedTypeSource Code

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.

satisfiedTypesSource Code

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
getAttributeSource Code
shared formal Attribute<Container,Get,Set>? getAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name)

Gets an attribute by name. Returns null if not found.

Throws:
getClassSource Code

Gets a member class by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container, Type or Arguments type arguments are not compatible with the actual result, or if the corresponding member is not a MemberClass.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getClassOrInterfaceSource Code

Gets a member class or interface by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container or Kind type arguments are not compatible with the actual result.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getDeclaredAttributeSource Code
shared formal Attribute<Container,Get,Set>? getDeclaredAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name)

Gets an attribute by name. Returns null if not found.

Throws:
getDeclaredClassSource Code

Gets a member class by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container, Type or Arguments type arguments are not compatible with the actual result, or if the corresponding member is not a MemberClass.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getDeclaredClassOrInterfaceSource Code
shared formal Member<Container,Kind>? getDeclaredClassOrInterface<Container = Nothing, Kind = ClassOrInterface<Anything>>(String name, Type<Anything>[] types)
given Kind satisfies ClassOrInterface<Anything>

Gets a member class or interface by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container or Kind type arguments are not compatible with the actual result.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getDeclaredInterfaceSource Code

Gets a member interface by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container or Type type arguments are not compatible with the actual result, or if the corresponding member is not a MemberInterface.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getDeclaredMethodSource Code

Gets a method by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container, Type or Arguments type arguments are not compatible with the actual result.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getInterfaceSource Code

Gets a member interface by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container or Type type arguments are not compatible with the actual result, or if the corresponding member is not a MemberInterface.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

getMethodSource Code

Gets a method by name. Returns null if not found.

Throws:
  • IncompatibleTypeException

    If the specified Container, Type or Arguments type arguments are not compatible with the actual result.

  • TypeApplicationException

    If the specified closed type argument values are not compatible with the actual result's type parameters.

Inherited Methods
Methods inherited from: Object
Methods inherited from: Type<Type>