Lines Matching refs:Type
22 import java.lang.reflect.Type;
48 private final Type mType;
81 * Return the dynamic {@link Type} corresponding to the captured type {@code T}.
83 public Type getType() {
87 private TypeReference(Type type) {
104 public SpecializedBaseTypeReference(Type type) {
127 * Create a specialized type reference from a dynamic {@link Type} instance,
133 * @param type a non-{@code null} {@link Type} instance
139 public static TypeReference<?> createSpecializedTypeReference(Type type) {
162 private static final Class<?> getRawType(Type type) {
177 throw new AssertionError("Type variables are not allowed in type references");
184 private static final Class<?> getRawType(Type[] types) {
189 for (Type type : types) {
209 Type componentType = getComponentType(mType);
216 private static Type getComponentType(Type type) {
229 throw new AssertionError("Type variables are not allowed in type references");
271 public static boolean containsTypeVariable(Type type) {
322 for (Type arg : p.getActualTypeArguments()) {
369 private static void toString(Type type, StringBuilder out) {
397 private static void toString(Type[] types, StringBuilder out) {
424 private static boolean containsTypeVariable(Type[] typeArray) {
429 for (Type type : typeArray) {