Interface CBPackageType
- All Known Implementing Classes:
CBPackage
public interface CBPackageType
A compiled package.
-
Method Summary
Modifier and TypeMethodDescriptionimports()name()default List<CBProtocolVersionDeclarationType> Find all protocol versions to which the given type belongs.types()
-
Method Details
-
name
String name()- Returns:
- The full name of the package, such as
com.io7m.cedarbridge
-
imports
List<CBPackageType> imports()- Returns:
- The packages imported by this package
-
types
Map<String,CBTypeDeclarationType> types()- Returns:
- The types declared within this package
-
protocols
Map<String,CBProtocolDeclarationType> protocols()- Returns:
- The protocols declared within this package
-
protocolVersionsForType
Find all protocol versions to which the given type belongs.- Parameters:
type- The type- Returns:
- The protocol versions
-