You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @constructor create a new person with a name and age.
46
+
* @tparamT useless param
47
+
* @paramname the person's name
48
+
* @paramage the person's age in years
49
+
* @throwsjava.lang.Exception
50
+
*
51
+
* @see reference other sources of information like external document links or related entities in the documentation.
52
+
* @note add a note for pre or post conditions, or any other notable restrictions or expectations.
53
+
* @example for providing example code or related example documentation.
54
+
* @usecase def apply(name: String, age: Int) : Unit
55
+
*
56
+
* @groupname group name
57
+
* @groupprio group 2
58
+
* @groupdesc group desc
59
+
* @group group
60
+
* @contentDiagram
61
+
*
62
+
*
63
+
* @author provide author information for the following entity
64
+
* @version the version of the system or API that this entity is a part of.
65
+
* @since like @version but defines the system or API that this entity was first defined in.
66
+
* @todo for documenting unimplemented features or unimplemented aspects of an entity.
67
+
* @deprecated marks the entity as deprecated, providing both the replacement implementation that should be used and the version/date at which this entity was deprecated.
68
+
* @migration like deprecated but provides advanced warning of planned changes ahead of deprecation. Same fields as @deprecated.
69
+
* @inheritdoc take comments from a superclass as defaults if comments are not provided locally.
70
+
* @documentable Expand a type alias and abstract type into a full template page. - TODO: Test the “abstract type” claim - no examples of this in the Scala code base
71
+
*
72
+
* @define <name> <definition>
73
+
*
74
+
* @shortDescription ???
75
+
* @hideImplicitConversion ???
76
+
*
77
+
*/
78
+
classPerson[T](name: String, age: Int) {
79
+
}
80
+
81
+
/** Factory for [[mypackage.Person]] instances. */
82
+
objectPerson {
83
+
/** Creates a person with a given name and age.
84
+
*
85
+
* @paramname their name
86
+
* @paramage the age of the person to create
87
+
*/
88
+
defapply(name: String, age: Int) = {}
89
+
90
+
/** Creates a person with a given name and birthdate
91
+
*
92
+
* @paramname their name
93
+
* @parambirthDate the person's birthdate
94
+
* @return a new Person instance with the age determined by the
0 commit comments