@Test(expected = UnsupportedOperationException.class) public void anonymous_throws_if_try_to_get_the_key() { Extension.anonymous().getKey(); }
@Override public String getKey() { return key; }
NamedExtension implements Extension<T> { @Override public String getKey() { return key; } }
NamedExtension implements Extension<T> { @Override public String getKey() { return key; } NamedExtension(String key); }
NamedExtension implements Extension<T> { @Override public String getKey() { return key; } NamedExtension(String key); @Override String getKey(); @Override boolean equals(Object o); boolean equals(NamedExtension<?> o); @Override int hashCode(); @Override String toString(); }
NamedExtension implements Extension<T> { @Override public String getKey() { return key; } NamedExtension(String key); @Override String getKey(); @Override boolean equals(Object o); boolean equals(NamedExtension<?> o); @Override int hashCode(); @Override String toString();  }