/** Returns an array type whose elements are all instances of {@code componentType}. */ public static ArrayTypeName of(TypeName componentType) { return new ArrayTypeName(componentType); }
@Override public TypeName withoutAnnotations() { return new ArrayTypeName(componentType); }
@Override public ArrayTypeName annotated(List<AnnotationSpec> annotations) { return new ArrayTypeName(componentType, concatAnnotations(annotations)); }
static ArrayTypeName get( ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { return new ArrayTypeName(get(mirror.getComponentType(), typeVariables)); }
@Override public TypeName withoutAnnotations() { return new ArrayTypeName(componentType); }
/** Returns an array type whose elements are all instances of {@code componentType}. */ public static ArrayTypeName of(TypeName componentType) { return new ArrayTypeName(componentType); }
/** Returns an array type whose elements are all instances of {@code componentType}. */ public static ArrayTypeName of(TypeName componentType) { return new ArrayTypeName(componentType); }
@Override public TypeName withoutAnnotations() { return new ArrayTypeName(componentType); }
@Override public ArrayTypeName annotated(List<AnnotationSpec> annotations) { return new ArrayTypeName(componentType, concatAnnotations(annotations)); }
@Override public ArrayTypeName annotated(List<AnnotationSpec> annotations) { return new ArrayTypeName(componentType, concatAnnotations(annotations)); }
static ArrayTypeName get( ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { return new ArrayTypeName(get(mirror.getComponentType(), typeVariables)); }
static ArrayTypeName get( ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { return new ArrayTypeName(get(mirror.getComponentType(), typeVariables)); }