code: public static InterfaceMeta get(final Class<?> type) {
          InterfaceMeta interfaceMeta = INTERFACE_MAP.get(type);
          if (interfaceMeta == null) {
              final Interface waylandInterface = type.getAnnotation(Interface.class);
              if (waylandInterface == null) {
                  interfaceMeta = NO_INTERFACE;
              }
              else {
                  interfaceMeta = create(waylandInterface.name(),
                                         waylandInterface.version(),
                                         waylandInterface.methods(),
                                         waylandInterface.events());
              }
              INTERFACE_MAP.put(type,
                                interfaceMeta);
          }
          return interfaceMeta;
      }
docs: Scans this type for {@link Interface} annotations and creates a native context if possible.
  
  @param type Any Java type.
  
  @return The associated {@link InterfaceMeta} or {@link #NO_INTERFACE} if the type does not have a wayland interface
  associated with it.