private $YangModuleInfoImpl() { Set<YangModuleInfo> set = new HashSet<>(); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.conditions.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.subjects.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.constraints.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.types.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.actions.rev150122.$YangModuleInfoImpl.getInstance()); importedModules = ImmutableSet.copyOf(set); InputStream stream = $YangModuleInfoImpl.class.getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalStateException("Resource '" + resourcePath + "' is missing"); } try { stream.close(); } catch (IOException e) { // Resource leak, but there is nothing we can do } }
private $YangModuleInfoImpl() { Set<YangModuleInfo> set = new HashSet<>(); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.qos.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.constraints.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.actions.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.subjects.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.conditions.rev150122.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.types.rev150122.$YangModuleInfoImpl.getInstance()); importedModules = ImmutableSet.copyOf(set); InputStream stream = $YangModuleInfoImpl.class.getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalStateException("Resource '" + resourcePath + "' is missing"); } try { stream.close(); } catch (IOException e) { // Resource leak, but there is nothing we can do } }
private $YangModuleInfoImpl() { Set<YangModuleInfo> set = new HashSet<>(); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.nic.received.event.rev151202.$YangModuleInfoImpl.getInstance()); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.types.rev150122.$YangModuleInfoImpl.getInstance()); importedModules = ImmutableSet.copyOf(set); InputStream stream = $YangModuleInfoImpl.class.getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalStateException("Resource '" + resourcePath + "' is missing"); } try { stream.close(); } catch (IOException e) { // Resource leak, but there is nothing we can do } }
private $YangModuleInfoImpl() { Set<YangModuleInfo> set = new HashSet<>(); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.types.rev150122.$YangModuleInfoImpl.getInstance()); importedModules = ImmutableSet.copyOf(set); InputStream stream = $YangModuleInfoImpl.class.getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalStateException("Resource '" + resourcePath + "' is missing"); } try { stream.close(); } catch (IOException e) { // Resource leak, but there is nothing we can do } }
private $YangModuleInfoImpl() { Set<YangModuleInfo> set = new HashSet<>(); set.add(org.opendaylight.yang.gen.v1.urn.opendaylight.intent.types.rev150122.$YangModuleInfoImpl.getInstance()); importedModules = ImmutableSet.copyOf(set); InputStream stream = $YangModuleInfoImpl.class.getResourceAsStream(resourcePath); if (stream == null) { throw new IllegalStateException("Resource '" + resourcePath + "' is missing"); } try { stream.close(); } catch (IOException e) { // Resource leak, but there is nothing we can do } }
public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() { return $YangModuleInfoImpl.getInstance(); } }
public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() { return $YangModuleInfoImpl.getInstance(); } }