@Test public void named_extensions_returns_its_own_key() { assertEquals("my.extension", Extension.key("my.extension").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();  }