@Test public void testDetectBusinessAndUndefinedEvent() { TypeLiteral<BusinessEventMapped> be = new TypeLiteral<BusinessEventMapped>() { }; TypeLiteral<UndefinedEventMapped> ue = new TypeLiteral<UndefinedEventMapped>() { }; assertEquals("nakadi.BusinessEventMapped", be.type().getTypeName()); assertEquals("nakadi.UndefinedEventMapped", ue.type().getTypeName()); }
public Type type() { return type; }
TypeLiteral { public Type type() { return type; } }
TypeLiteral { public Type type() { return type; } TypeLiteral(); }
TypeLiteral { public Type type() { return type; } TypeLiteral(); Type type(); @Override final int hashCode(); @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") @Override boolean equals(Object o); }
TypeLiteral { public Type type() { return type; } TypeLiteral(); Type type(); @Override final int hashCode(); @SuppressWarnings("EqualsWhichDoesntCheckParameterClass") @Override boolean equals(Object o);  }