Satisfied Interfaces: Kind(Container)
, ClassModel<Type,Arguments>, ClassOrInterface<Type>, Generic, Member<Container,Class<Type,Arguments>>, Model, Type<Type>

A class model represents the model of a Ceylon class that you can instantiate and inspect.

A member class is is declared on classes or interfaces.

This is both a ClassModel and a Member: you can invoke it with an instance value to bind it to that instance and obtain a Class:

    shared class Outer(String name){
        shared class Inner(){
            shared String hello => "Hello "+name;
        }
    }

    void test(){
        MemberClass<Outer,Outer.Inner,[]> memberClass = `Outer.Inner`;
        Class<Outer.Inner,[]> c = memberClass(Outer("Stef"));
        // This will print: Hello Stef
        print(c().hello);
    }

Inherited Attributes
Attributes inherited from: Object hash, string
Attributes inherited from: ClassModel<Type,Arguments> parameterTypes
Attributes inherited from: ClassOrInterface<Type> extendedType, satisfiedTypes
Attributes inherited from: Generic typeArguments
Attributes inherited from: Member<Container,Kind> declaringType
Attributes inherited from: Model container, declaration

Methods
bind | Source Code shared formal Class<Type,Arguments> bind(Object container) Type-unsafe container binding, to be used when the container type is unknown until runtime. This has the same behaviour as invoking this `Member` directly, but exchanges compile-time type safety with runtime checks. Refined declaration: bind

Inherited Methods
Methods inherited from: Object equals
Methods inherited from: ClassOrInterface<Type> getAttribute, getClass, getClassOrInterface, getDeclaredAttribute, getDeclaredClass, getDeclaredClassOrInterface, getDeclaredInterface, getDeclaredMethod, getInterface, getMethod
Methods inherited from: Member<Container,Kind> bind
Methods inherited from: Type<Type> exactly, subtypeOf, supertypeOf, typeOf