Model of a class or interface that you can inspect.
The models of classes and interfaces are also closed types.
no type hierarchy
Attributes | |
caseValues | Source Codeshared formal Type[] caseValues The list of case values for this type. This omits any case type to only contain case values. |
declaration | Source Codeshared formal ClassOrInterfaceDeclaration declaration The declaration for this class or interface. |
extendedType | Source Codeshared 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 Codeshared formal InterfaceModel<Anything>[] satisfiedTypes The list of closed types that this class or interface satisfies. |
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: Declared |
Attributes inherited from: Generic |
Attributes inherited from: Model |
Methods | |
getAttribute | Source Codeshared formal Attribute<Container,Get,Set>? getAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name) Gets an attribute by name. Returns See Throws
|
getAttributes | Source Codeshared formal Attribute<Container,Get,Set>[] getAttributes<Container = Nothing, Get = Anything, Set = Nothing>(ClosedType<Annotation>[] annotationTypes) Gets a list of attributes matching the given container and attribute type, annotated with all the specified annotations, which are declared on this type or inherited. |
getClass | Source Codeshared formal MemberClass<Container,Type,Arguments>? getClass<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, ClosedType<Anything>[] types) Gets a member class by name. Returns See Throws
|
getClassOrInterface | Source Codeshared formal Member<Container,Kind>? getClassOrInterface<Container = Nothing, Kind = ClassOrInterface<Anything>>(String name, ClosedType<Anything>[] types) Gets a member class or interface by name. Returns The
Throws
|
getClasses | Source Codeshared formal MemberClass<Container,Type,Arguments>[] getClasses<Container = Nothing, Type = Anything, Arguments = Nothing>(ClosedType<Annotation>[] annotationTypes) Returns the list of shared member classes on this class or interface and annotated with all the specified annotations. This includes inherited member classes but not unshared member classes. |
getDeclaredAttribute | Source Codeshared formal Attribute<Container,Get,Set>? getDeclaredAttribute<Container = Nothing, Get = Anything, Set = Nothing>(String name) Gets an attribute by name. Returns See Throws
|
getDeclaredAttributes | Source Codeshared formal Attribute<Container,Get,Set>[] getDeclaredAttributes<Container = Nothing, Get = Anything, Set = Nothing>(ClosedType<Annotation>[] annotationTypes) Gets a list of attributes matching the given container and attribute type, annotated with all the specified annotations, which are directly declared on this type. |
getDeclaredClass | Source Codeshared formal MemberClass<Container,Type,Arguments>? getDeclaredClass<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, ClosedType<Anything>[] types) Gets a member class by name. Returns See Throws
|
getDeclaredClassOrInterface | Source Codeshared formal Member<Container,Kind>? getDeclaredClassOrInterface<Container = Nothing, Kind = ClassOrInterface<Anything>>(String name, ClosedType<Anything>[] types) Gets a member class or interface by name. Returns The
Throws
|
getDeclaredClasses | Source Codeshared formal MemberClass<Container,Type,Arguments>[] getDeclaredClasses<Container = Nothing, Type = Anything, Arguments = Nothing>(ClosedType<Annotation>[] annotationTypes) Gets a list of member classes matching the given container, return and parameter types, annotated with all the specified annotations, which are directly declared on this type. |
getDeclaredInterface | Source Codeshared formal MemberInterface<Container,Type>? getDeclaredInterface<Container = Nothing, Type = Anything>(String name, ClosedType<Anything>[] types) Gets a member interface by name. Returns See Throws
|
getDeclaredInterfaces | Source Codeshared formal MemberInterface<Container,Type>[] getDeclaredInterfaces<Container = Nothing, Type = Anything>(ClosedType<Annotation>[] annotationTypes) Returns the list of member interfaces directly declared on this class or interface and annotated with all the specified annotations. This includes unshared member interfaces but not inherited member interfaces. |
getDeclaredMethod | Source Codeshared formal Method<Container,Type,Arguments>? getDeclaredMethod<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, ClosedType<Anything>[] types) Gets a method by name. Returns See Throws
|
getDeclaredMethods | Source Codeshared formal Method<Container,Type,Arguments>[] getDeclaredMethods<Container = Nothing, Type = Anything, Arguments = Nothing>(ClosedType<Annotation>[] annotationTypes) Gets a list of methods matching the given container, return and parameter types, annotated with all the specified annotations, which are directly declared on this type. |
getInterface | Source Codeshared formal MemberInterface<Container,Type>? getInterface<Container = Nothing, Type = Anything>(String name, ClosedType<Anything>[] types) Gets a member interface by name. Returns See Throws
|
getInterfaces | Source Codeshared formal MemberInterface<Container,Type>[] getInterfaces<Container = Nothing, Type = Anything>(ClosedType<Annotation>[] annotationTypes) Returns the list of shared member interfaces on this class or interface and annotated with all the specified annotations. This includes inherited member interfaces but not unshared member interfaces. |
getMethod | Source Codeshared formal Method<Container,Type,Arguments>? getMethod<Container = Nothing, Type = Anything, Arguments = Nothing>(String name, ClosedType<Anything>[] types) Gets a method by name. Returns See Throws
|
getMethods | Source Codeshared formal Method<Container,Type,Arguments>[] getMethods<Container = Nothing, Type = Anything, Arguments = Nothing>(ClosedType<Annotation>[] annotationTypes) Gets a list of methods matching the given container, return and parameter types, annotated with all the specified annotations, which are declared on this type or inherited. |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: ClosedType<Target> |