private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
private TypeInfo add(Type type) { if (type instanceof Class<?>) { Class<?> clazz = (Class<?>) type; if (clazz.isInterface()) { interfaces.add(clazz); } else { classes.add(clazz); } } else if (type instanceof ParameterizedType) { add(((ParameterizedType) type).getRawType()); } else { throw UtilLogger.LOG.cannotProxyNonClassType(type); } return this; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }
public static TypeInfo of(Set<? extends Type> types) { TypeInfo typeInfo = new TypeInfo(); for (Type type : types) { typeInfo.add(type); } return typeInfo; }