@Test public void testWithWilcardParameterizedTypeCthulhu() { TypeLiteral<List<? extends Map<String, List<String>>>> a = new TypeLiteral<List<? extends Map<String, List<String>>>>() { }; TypeLiteral<List<? extends Map<String, List<String>>>> b = new TypeLiteral<List<? extends Map<String, List<String>>>>() { }; assertEquals(a, b); assertEquals(b, a); assertEquals( "java.util.List<? extends java.util.Map<java.lang.String, java.util.List<java.lang.String>>>", a.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);  }