@Test public void testSimpleTypeNameOfRoot() { assertThat(ResourceId.ROOT.simpleTypeName(), is("Root")); }
@Override String simpleTypeName() { if (isRoot()) { return "Root"; } return lastComponent().getClass().getSimpleName(); }
DiscreteResourceId extends ResourceId { @Override String simpleTypeName() { if (isRoot()) { return "Root"; } return lastComponent().getClass().getSimpleName(); } }
DiscreteResourceId extends ResourceId { @Override String simpleTypeName() { if (isRoot()) { return "Root"; } return lastComponent().getClass().getSimpleName(); } DiscreteResourceId(ImmutableList<Object> components);   DiscreteResourceId(); }
DiscreteResourceId extends ResourceId { @Override String simpleTypeName() { if (isRoot()) { return "Root"; } return lastComponent().getClass().getSimpleName(); } DiscreteResourceId(ImmutableList<Object> components);   DiscreteResourceId(); @Override DiscreteResourceId child(Object child); @Override ContinuousResourceId child(Class<?> child); @Override Optional<DiscreteResourceId> parent(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
DiscreteResourceId extends ResourceId { @Override String simpleTypeName() { if (isRoot()) { return "Root"; } return lastComponent().getClass().getSimpleName(); } DiscreteResourceId(ImmutableList<Object> components);   DiscreteResourceId(); @Override DiscreteResourceId child(Object child); @Override ContinuousResourceId child(Class<?> child); @Override Optional<DiscreteResourceId> parent(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }