@Test public void testResolveNodeInterface() { assertThat( new ParboiledLocationSpecifier( InterfaceLocationAstNode.createFromInterfaceWithNode( new NameNodeAstNode(_node1), new NameInterfaceAstNode(_iface1))) .resolve(_ctxt), equalTo(ImmutableSet.of(new InterfaceLocation(_node1, _iface1)))); }
@Override public Set<Location> resolve(SpecifierContext ctxt) { return _ast.accept(new LocationAstNodeToLocations(ctxt)); }
ParboiledLocationSpecifier implements LocationSpecifier { @Override public Set<Location> resolve(SpecifierContext ctxt) { return _ast.accept(new LocationAstNodeToLocations(ctxt)); } }
ParboiledLocationSpecifier implements LocationSpecifier { @Override public Set<Location> resolve(SpecifierContext ctxt) { return _ast.accept(new LocationAstNodeToLocations(ctxt)); } ParboiledLocationSpecifier(LocationAstNode ast); }
ParboiledLocationSpecifier implements LocationSpecifier { @Override public Set<Location> resolve(SpecifierContext ctxt) { return _ast.accept(new LocationAstNodeToLocations(ctxt)); } ParboiledLocationSpecifier(LocationAstNode ast); static ParboiledLocationSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<Location> resolve(SpecifierContext ctxt); }
ParboiledLocationSpecifier implements LocationSpecifier { @Override public Set<Location> resolve(SpecifierContext ctxt) { return _ast.accept(new LocationAstNodeToLocations(ctxt)); } ParboiledLocationSpecifier(LocationAstNode ast); static ParboiledLocationSpecifier parse(String input); @Override boolean equals(Object o); @Override int hashCode(); @Override Set<Location> resolve(SpecifierContext ctxt);  }