- emitAnnotation(String) - Method in class com.squareup.java.JavaWriter
-
Equivalent to annotation(annotation, emptyMap()).
- emitAnnotation(Class<? extends Annotation>) - Method in class com.squareup.java.JavaWriter
-
Equivalent to annotation(annotationType.getName(), emptyMap()).
- emitAnnotation(Class<? extends Annotation>, Object) - Method in class com.squareup.java.JavaWriter
-
Annotates the next element with annotationType and a value.
- emitAnnotation(String, Object) - Method in class com.squareup.java.JavaWriter
-
Annotates the next element with annotation and a value.
- emitAnnotation(Class<? extends Annotation>, Map<String, ?>) - Method in class com.squareup.java.JavaWriter
-
Equivalent to annotation(annotationType.getName(), attributes).
- emitAnnotation(String, Map<String, ?>) - Method in class com.squareup.java.JavaWriter
-
Annotates the next element with annotation and attributes.
- emitEmptyLine() - Method in class com.squareup.java.JavaWriter
-
- emitEndOfLineComment(String, Object...) - Method in class com.squareup.java.JavaWriter
-
Emits some Javadoc comments.
- emitEnumValue(String) - Method in class com.squareup.java.JavaWriter
-
- emitField(String, String, int) - Method in class com.squareup.java.JavaWriter
-
Emits a field declaration.
- emitField(String, String, int, String) - Method in class com.squareup.java.JavaWriter
-
- emitImports(String...) - Method in class com.squareup.java.JavaWriter
-
Emit an import for each type provided.
- emitImports(Collection<String>) - Method in class com.squareup.java.JavaWriter
-
Emit an import for each type in the provided Collection.
- emitJavadoc(String, Object...) - Method in class com.squareup.java.JavaWriter
-
Emits some Javadoc comments with line separated by \n.
- emitPackage(String) - Method in class com.squareup.java.JavaWriter
-
Emit a package declaration and empty line.
- emitStatement(String, Object...) - Method in class com.squareup.java.JavaWriter
-
- endControlFlow() - Method in class com.squareup.java.JavaWriter
-
- endControlFlow(String) - Method in class com.squareup.java.JavaWriter
-
- endMethod() - Method in class com.squareup.java.JavaWriter
-
Completes the current method declaration.
- endType() - Method in class com.squareup.java.JavaWriter
-
Completes the current type declaration.