* Initialize the types provided by this type provider from the given library.
*
* @param library the library containing the definitions of the core types
*/
private void initializeFrom(LibraryElement library) {
Namespace namespace = new NamespaceBuilder().createPublicNamespaceForLibrary(library);
boolType = getType(namespace, "bool");
bottomType = BottomTypeImpl.getInstance();
deprecatedType = getType(namespace, "Deprecated");
doubleType = getType(namespace, "double");
dynamicType = DynamicTypeImpl.getInstance();