@Test public void testResolveUnion() { build(); assertThat( new ParboiledInterfaceSpecifier( new UnionInterfaceAstNode( new NameInterfaceAstNode("iface11"), new NameInterfaceAstNode("iface2"))) .resolve(_nodes, _ctxt), containsInAnyOrder(NodeInterfacePair.of(_iface11), NodeInterfacePair.of(_iface2))); }
@Override public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) { return _ast.accept(new InterfaceAstNodeToInterfaces(nodes, ctxt)); }
ParboiledInterfaceSpecifier implements InterfaceSpecifier { @Override public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) { return _ast.accept(new InterfaceAstNodeToInterfaces(nodes, ctxt)); } }
ParboiledInterfaceSpecifier implements InterfaceSpecifier { @Override public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) { return _ast.accept(new InterfaceAstNodeToInterfaces(nodes, ctxt)); } ParboiledInterfaceSpecifier(InterfaceAstNode ast); }
ParboiledInterfaceSpecifier implements InterfaceSpecifier { @Override public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) { return _ast.accept(new InterfaceAstNodeToInterfaces(nodes, ctxt)); } ParboiledInterfaceSpecifier(InterfaceAstNode ast); static ParboiledInterfaceSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt); }
ParboiledInterfaceSpecifier implements InterfaceSpecifier { @Override public Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt) { return _ast.accept(new InterfaceAstNodeToInterfaces(nodes, ctxt)); } ParboiledInterfaceSpecifier(InterfaceAstNode ast); static ParboiledInterfaceSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<NodeInterfacePair> resolve(Set<String> nodes, SpecifierContext ctxt);  }