List<PythonTypeStubType> getTypes() {
		// NOTE: do ALL SPECIFIED TYPES
		// if it is not public, it will be decorated with @typing.type_check_only
		// this prevents errors during typechecking from having a class with a base
		// class that doesn't have public visibility
		if (types != null) {
			return types;
		}
		types = new ArrayList<>();
		for (Element child : el.getEnclosedElements()) {
			switch (child.getKind()) {
				case CLASS:
				case INTERFACE:
				case ENUM:
				case RECORD:
					if (!doclet.isSpecified(child)) {
						continue;
					}
					types.add(new PythonTypeStubType(this, (TypeElement) child));
					break;
				default:
					break;
			}
		}
		return types;
	}
Gets a list of all the types declared in this package

@return a list of all specified types
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubPackage.java