diff options
Diffstat (limited to 'java/core/src/main/java/com/google/protobuf/ExtensionLite.java')
-rw-r--r-- | java/core/src/main/java/com/google/protobuf/ExtensionLite.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/java/core/src/main/java/com/google/protobuf/ExtensionLite.java b/java/core/src/main/java/com/google/protobuf/ExtensionLite.java index f8f5bd2c..0fb5f49e 100644 --- a/java/core/src/main/java/com/google/protobuf/ExtensionLite.java +++ b/java/core/src/main/java/com/google/protobuf/ExtensionLite.java @@ -32,9 +32,9 @@ package com.google.protobuf; /** * Lite interface that generated extensions implement. - * <p> - * Methods are for use by generated code only. You can hold a reference to - * extensions using this type name. + * + * <p>Methods are for use by generated code only. You can hold a reference to extensions using this + * type name. */ public abstract class ExtensionLite<ContainingType extends MessageLite, Type> { @@ -50,12 +50,9 @@ public abstract class ExtensionLite<ContainingType extends MessageLite, Type> { /** Returns the default value of the extension field. */ public abstract Type getDefaultValue(); - /** - * Returns the default instance of the extension field, if it's a message - * extension. - */ + /** Returns the default instance of the extension field, if it's a message extension. */ public abstract MessageLite getMessageDefaultInstance(); - + /** Returns whether or not this extension is a Lite Extension. */ boolean isLite() { return true; |