diff options
-rw-r--r-- | value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java b/value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java index 58d61ca5..343645ae 100644 --- a/value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java +++ b/value/src/main/java/com/google/auto/value/extension/AutoValueExtension.java @@ -120,12 +120,11 @@ public abstract class AutoValueExtension { * that the final type of the property might be different because of type variables. For * example, if you have... * - * <pre>{@code - * interface Parent<T> { + * <pre> + * {@code interface Parent<T>} { * T bar(); * } - * - * @AutoValue abstract class Foo implements Parent<String> {...}}</pre> + * {@code @AutoValue abstract class Foo implements Parent<String> {...}}</pre> * * ...then the type of the {@code bar} property in {@code Foo} is actually {@code String}, but * the {@code ExecutableElement} will be the the method in {@code Parent}, whose return type is |