< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties

Print this page
rev 58348 : remove dead code; update tests

@@ -91,14 +91,17 @@
 doclet.PropertyGetterWithName=Gets the value of the property {0}.
 doclet.PropertySetterWithName=Sets the value of the property {0}.
 doclet.Default=Default:
 doclet.Parameters=Parameters:
 doclet.TypeParameters=Type Parameters:
+doclet.RecordComponents=Record Components:
 doclet.Parameters_warn=@param argument "{0}" is not a parameter name.
 doclet.Parameters_dup_warn=Parameter "{0}" is documented more than once.
-doclet.Type_Parameters_warn=@param argument "{0}" is not a type parameter name.
-doclet.Type_Parameters_dup_warn=Type parameter "{0}" is documented more than once.
+doclet.TypeParameters_warn=@param argument "{0}" is not the name of a type parameter.
+doclet.TypeParameters_dup_warn=Type parameter "{0}" is documented more than once.
+doclet.RecordComponents_warn=@param argument "{0}" is not the name of a record component.
+doclet.RecordComponents_dup_warn=Record component "{0}" is documented more than once.
 doclet.Returns=Returns:
 doclet.Return_tag_on_void_method=@return tag cannot be used in method with void return type.
 doclet.See_Also=See Also:
 doclet.See=See:
 doclet.SerialData=Serial Data:

@@ -135,10 +138,11 @@
 doclet.Field_Summary=Field Summary
 doclet.Property_Summary=Property Summary
 doclet.Enum_Constant_Summary=Enum Constant Summary
 doclet.Constructor_Summary=Constructor Summary
 doclet.Method_Summary=Method Summary
+doclet.Record_Summary=Record Summary
 doclet.Interfaces=Interfaces
 doclet.Enums=Enums
 doclet.AnnotationTypes=Annotation Types
 doclet.Exceptions=Exceptions
 doclet.Errors=Errors

@@ -158,10 +162,11 @@
 doclet.enums=enums
 doclet.interface=interface
 doclet.interfaces=interfaces
 doclet.class=class
 doclet.classes=classes
+doclet.Record=Record
 doclet.Error=Error
 doclet.error=error
 doclet.errors=errors
 doclet.Exception=Exception
 doclet.exception=exception

@@ -266,5 +271,60 @@
 doclet.enum_valueof_doc.throws_ila=\
  if this enum type has no constant with the specified name
 
 doclet.enum_valueof_doc.throws_npe=\
  if the argument is null
+
+
+#Documentation for records
+doclet.record_constructor_doc.fullbody=\
+ Creates an instance of a {0} record.
+
+doclet.record_constructor_doc.param_name=\
+ the value for the {0} record component
+
+doclet.record_equals_doc.fullbody.head=\
+ Indicates whether some other object is "equal to" this one. \
+ The objects are equal if the other object is of the same class \
+ and if all the record components are equal.
+
+doclet.record_equals_doc.fullbody.tail.both=\
+ Reference components are compared with \
+ {@link java.util.Objects#equals(Object,Object) Objects::equals(Object,Object)}; \
+ primitive components are compared with '=='.
+
+doclet.record_equals_doc.fullbody.tail.primitive=\
+ All components in this record are compared with '=='.
+
+doclet.record_equals_doc.fullbody.tail.reference=\
+ All components in this record are compared with \
+ {@link java.util.Objects#equals(Object,Object) Objects::equals(Object,Object)}.
+
+doclet.record_equals_doc.param_name=\
+ the object with which to compare
+
+doclet.record_equals_doc.return=\
+ <code>true</code> if this object is the same as the {0} argument; <code>false</code> otherwise.
+
+doclet.record_hashCode_doc.fullbody=\
+ Returns a hash code value for this object. \
+ The value is derived from the hash code of each of the record components.
+
+doclet.record_hashCode_doc.return=\
+ a hash code value for this object
+
+doclet.record_toString_doc.fullbody=\
+ Returns a string representation of this record. \
+ The representation contains the name of the type, followed by \
+ the name and value of each of the record components.
+
+doclet.record_toString_doc.return=\
+ a string representation of this object
+
+doclet.record_accessor_doc.fullbody=\
+ Returns the value of the {0} record component.
+
+doclet.record_accessor_doc.return=\
+ the value of the {0} record component
+
+doclet.record_field_doc.fullbody=\
+ The field for the {0} record component.
< prev index next >