public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static com.squareup.javapoet.ClassName |
createServiceClientClassName(int version,
String serviceClient)
Constructs a class name given a version of the Google Ads library and a service client.
|
static com.squareup.javapoet.AnnotationSpec |
generatedAnnotation()
Creates the @Generated annotation
|
static void |
writeGeneratedClassToFile(String packageName,
com.squareup.javapoet.TypeSpec typeSpec,
Messager messager,
Filer filer) |
public static com.squareup.javapoet.AnnotationSpec generatedAnnotation()
public static com.squareup.javapoet.ClassName createServiceClientClassName(int version,
String serviceClient)
version - of the Google Ads library.serviceClient - the service client for which the class is being created.Copyright © 2020. All rights reserved.