@Test public void testClone() throws Exception { try { term().clone(); fail("Clone should not be supported"); } catch (CloneNotSupportedException e) { } }
@Override protected final Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); }
ImmutableTerm implements Term { @Override protected final Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); } }
ImmutableTerm implements Term { @Override protected final Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); } ImmutableTerm(AbstractImmutableVocabulary<? extends ImmutableTerm> vocabulary, String entityName); }
ImmutableTerm implements Term { @Override protected final Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); } ImmutableTerm(AbstractImmutableVocabulary<? extends ImmutableTerm> vocabulary, String entityName); @Override final int ordinal(); @Override final String name(); @Override final String entityName(); @Override final String qualifiedEntityName(); @Override final Vocabulary getDeclaringVocabulary(); @Override V as(Class<? extends V> valueClass); @Override final boolean equals(Object other); @Override final int hashCode(); @Override String toString(); @Override int compareTo(Term other); }
ImmutableTerm implements Term { @Override protected final Object clone() throws CloneNotSupportedException { throw new CloneNotSupportedException(); } ImmutableTerm(AbstractImmutableVocabulary<? extends ImmutableTerm> vocabulary, String entityName); @Override final int ordinal(); @Override final String name(); @Override final String entityName(); @Override final String qualifiedEntityName(); @Override final Vocabulary getDeclaringVocabulary(); @Override V as(Class<? extends V> valueClass); @Override final boolean equals(Object other); @Override final int hashCode(); @Override String toString(); @Override int compareTo(Term other);  }