@Test public void testEclipseJDTInvalidWildcardSignature() { final Type type = GenericUtilities.getType("!*"); assertThat(type, instanceOf(GenericObjectType.class)); assertEquals("*", ((GenericObjectType) type).getVariable()); assertNull(((GenericObjectType) type).getExtension()); }
public static GenericObjectType getType(String className, List<? extends ReferenceType> parameters) { return new GenericObjectType(className, parameters); }
GenericUtilities { public static GenericObjectType getType(String className, List<? extends ReferenceType> parameters) { return new GenericObjectType(className, parameters); } }
GenericUtilities { public static GenericObjectType getType(String className, List<? extends ReferenceType> parameters) { return new GenericObjectType(className, parameters); }  }
GenericUtilities { public static GenericObjectType getType(String className, List<? extends ReferenceType> parameters) { return new GenericObjectType(className, parameters); }  static final TypeCategory getTypeCategory(Type type); static final boolean isPlainObject(Type type); static final String getString(Type type); static GenericObjectType getType(String className, List<? extends ReferenceType> parameters); static @CheckForNull Type getType(String signature); static ObjectType merge(@CheckForNull Type t1, ObjectType t2); static Type merge(@CheckForNull GenericObjectType t1, Type t2); static ObjectType merge(@CheckForNull GenericObjectType t1, ObjectType t2); static String removeMatchedAngleBrackets(String s); static int nextUnmatchedRightAngleBracket(String s, int startingAt); static int lastMatchedLeftAngleBracket(String s); static final @CheckForNull List<ReferenceType> getTypeParameters(String signature); static final List<String> split(String signature, boolean skipInitialAngleBracket); }
GenericUtilities { public static GenericObjectType getType(String className, List<? extends ReferenceType> parameters) { return new GenericObjectType(className, parameters); }  static final TypeCategory getTypeCategory(Type type); static final boolean isPlainObject(Type type); static final String getString(Type type); static GenericObjectType getType(String className, List<? extends ReferenceType> parameters); static @CheckForNull Type getType(String signature); static ObjectType merge(@CheckForNull Type t1, ObjectType t2); static Type merge(@CheckForNull GenericObjectType t1, Type t2); static ObjectType merge(@CheckForNull GenericObjectType t1, ObjectType t2); static String removeMatchedAngleBrackets(String s); static int nextUnmatchedRightAngleBracket(String s, int startingAt); static int lastMatchedLeftAngleBracket(String s); static final @CheckForNull List<ReferenceType> getTypeParameters(String signature); static final List<String> split(String signature, boolean skipInitialAngleBracket);  }