Home
last modified time | relevance | path

Searched refs:AutoValue (Results 1 – 25 of 195) sorted by relevance

12345678

/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueTest.java81 @AutoValue
115 @AutoValue
131 @AutoValue
162 @AutoValue
180 @AutoValue
185 @AutoValue.Builder
204 @AutoValue
229 @AutoValue
250 @AutoValue
258 @AutoValue.Builder
[all …]
DAutoValueJava8Test.java136 @AutoValue
186 @AutoValue
188 @AutoValue.CopyAnnotations(exclude = Nullable.class)
224 @AutoValue
267 @AutoValue
277 @AutoValue.Builder
318 @AutoValue
383 @AutoValue
393 @AutoValue.Builder
427 @AutoValue
[all …]
/external/auto/value/userguide/
Dhowto.md4 This page answers common how-to questions that may come up when using AutoValue.
8 for this, start by reading [AutoValue with builders](builders.md).
15 * ... [use AutoValue with a **nested** class?](#nested)
21 * ... [have AutoValue implement a concrete or default method?](#concrete)
25 * ... [have AutoValue also implement abstract methods from my
27 * ... [use AutoValue with a **generic** class?](#generic)
29 * ... [use AutoValue to **implement** an **annotation** type?](#annotation)
34 * ... [have one `@AutoValue` class **extend** another?](#inherit)
38 * ... [use AutoValue on an **interface**, not abstract class?](#interface)
48 Please see [AutoValue with builders](builders.md).
[all …]
Dindex.md1 # AutoValue chapter
8 > "AutoValue is a great tool for eliminating the drudgery of writing mundane
31 AutoValue provides an easier way to create immutable value classes, with a lot
35 This page will walk you through how to use AutoValue. Looking for a little more
36 persuasion? Please see [Why AutoValue?](why.md).
38 ## <a name="howto"></a>How to use AutoValue
40 The AutoValue concept is extremely simple: **You write an abstract class, and
41 AutoValue implements it.** That is all there is to it; there is literally *no*
44 **Note:** Below, we will illustrate an AutoValue class *without* a generated
46 reading at [AutoValue with Builders](builders.md) instead.
[all …]
Dbuilders.md1 # AutoValue with Builders
5 AutoValue using a static factory method as your public creation API. But in many
9 Fortunately, AutoValue can generate builder classes too! This page explains how.
14 ## How to use AutoValue with Builders<a name="howto"></a>
16 As explained in the introduction, the AutoValue concept is that **you write an
17 abstract value class, and AutoValue implements it**. Builder generation works in
19 your abstract value class, and AutoValue generates implementations for both.
24 import com.google.auto.value.AutoValue;
26 @AutoValue
35 @AutoValue.Builder
[all …]
Dbuilders-howto.md4 This page answers common how-to questions that may come up when using AutoValue
5 **with the builder option**. You should read and understand [AutoValue with
50 @AutoValue
59 @AutoValue.Builder
70 Use whichever names you like; AutoValue doesn't actually care.
94 @AutoValue
104 @AutoValue.Builder
126 your abstract builder type, to your value class. AutoValue will implement it.
141 @AutoValue
156 @AutoValue.Builder
[all …]
Dextensions.md4 AutoValue can be extended to implement new features for classes annotated with
5 `@AutoValue`.
10 compile your `@AutoValue` class, the extension can run.
31 Without extensions, AutoValue generates a subclass of the `@AutoValue` class.
/external/auto/value/
DCHANGES.md1 # AutoValue Changes
12 an Eclipse version older than 4.5, you will need to stay on AutoValue 1.4.
15 of the `@AutoValue` annotation has changed from `SOURCE` to `CLASS`. This
17 an `@AutoValue`. AutoValue itself uses this to enforce the check that one
18 `@AutoValue` class cannot extend another, even if the classes are compiled
22 `@AutoValue` class.
39 they are not visible from the latter. This can happen if the `@AutoValue`
44 *This is the last AutoValue version that compiles and runs on Java 6.* Future
46 that is compatible with Java 7, so AutoValue can be used with `javac -source 7
65 `foo()` is itself an `@AutoValue` class with a builder. The default value of
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DView.java19 import com.google.auto.value.AutoValue;
40 @AutoValue
41 @AutoValue.CopyAnnotations
167 @AutoValue
228 @AutoValue
229 @AutoValue.CopyAnnotations
266 @AutoValue
267 @AutoValue.CopyAnnotations
DAggregation.java19 import com.google.auto.value.AutoValue;
65 @AutoValue
99 @AutoValue
134 @AutoValue
136 @AutoValue.CopyAnnotations
171 @AutoValue
212 @AutoValue
DAggregationData.java19 import com.google.auto.value.AutoValue;
76 @AutoValue
119 @AutoValue
162 @AutoValue
206 @AutoValue
208 @AutoValue.CopyAnnotations
261 @AutoValue
417 @AutoValue
476 @AutoValue
519 @AutoValue
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/userguide/
Dindex.md1 # Serializable AutoValue Extension
4 An [`AutoValue`] extension that enables `@AutoValue` classes with
10 To use the [`SerializableAutoValueExtension`] with your `AutoValue` class, the
11 `AutoValue` class must:
18 The following `AutoValue` class is un-serializable:
21 @AutoValue
38 @AutoValue
99 [`AutoValue`]: https://github.com/google/auto/tree/master/value
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/processor/
DSerializableAutoValueExtensionTest.java22 import com.google.auto.value.AutoValue;
44 @AutoValue
60 @AutoValue.Builder
148 @AutoValue
164 @AutoValue.Builder
199 @AutoValue
217 @AutoValue
237 @AutoValue
249 @AutoValue.Builder
298 @AutoValue
[all …]
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/
DCustomFieldSerializerTest.java21 import com.google.auto.value.AutoValue;
51 @AutoValue
93 @AutoValue
117 @AutoValue
140 @AutoValue
151 @AutoValue.Builder
173 @AutoValue
184 @AutoValue.Builder
206 @AutoValue
216 @AutoValue.Builder
/external/auto/value/src/it/gwtserializer/src/test/java/com/google/auto/value/client/
DGwtSerializerTest.java18 import com.google.auto.value.AutoValue;
120 @AutoValue
130 @AutoValue
139 @AutoValue.Builder
147 @AutoValue
159 @AutoValue
170 @AutoValue.Builder
180 @AutoValue
190 @AutoValue
199 @AutoValue.Builder
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DNetworkEvent.java19 import com.google.auto.value.AutoValue;
34 @AutoValue
35 @AutoValue.CopyAnnotations
139 @AutoValue.Builder
DEndSpanOptions.java19 import com.google.auto.value.AutoValue;
32 @AutoValue
84 @AutoValue.Builder
/external/turbine/java/com/google/turbine/type/
DType.java22 import com.google.auto.value.AutoValue;
105 @AutoValue
168 @AutoValue
228 @AutoValue
264 @AutoValue
299 @AutoValue
356 @AutoValue
390 @AutoValue
424 @AutoValue
458 @AutoValue
[all …]
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DCrossProfileCallbackAnnotationInfo.java19 import com.google.auto.value.AutoValue;
22 @AutoValue
31 @AutoValue.Builder
DCrossProfileTestAnnotationInfo.java19 import com.google.auto.value.AutoValue;
23 @AutoValue
32 @AutoValue.Builder
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DValue.java19 import com.google.auto.value.AutoValue;
102 @AutoValue
137 @AutoValue
175 @AutoValue
213 @AutoValue
DSummary.java19 import com.google.auto.value.AutoValue;
36 @AutoValue
88 @AutoValue
142 @AutoValue
/external/auto/value/src/test/java/com/google/auto/value/extension/memoized/
DMemoizedTest.java21 import com.google.auto.value.AutoValue;
22 import com.google.auto.value.AutoValue.CopyAnnotations;
39 @AutoValue
56 @AutoValue
68 @AutoValue
79 @AutoValue
160 @AutoValue
188 @AutoValue
218 @AutoValue
466 @AutoValue
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DRunningSpanStore.java19 import com.google.auto.value.AutoValue;
75 @AutoValue
110 @AutoValue
144 @AutoValue
/external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/
DPrometheusStatsConfiguration.java19 import com.google.auto.value.AutoValue;
29 @AutoValue
59 @AutoValue.Builder

12345678