@@ -228,7 +228,7 @@ trait Symbols { self: Universe =>
228
228
throw new ScalaReflectionException (s " $this $msg" )
229
229
}
230
230
231
- /** Used to provide a better error message for `asMethod`
231
+ /** Used to provide a better error message for `asMethod`.
232
232
*
233
233
* @group Tests
234
234
*/
@@ -257,7 +257,7 @@ trait Symbols { self: Universe =>
257
257
def isClass : Boolean = false
258
258
259
259
/** Does this symbol represent the definition of a class implicitly associated
260
- * with an object definition (module class in scala compiler parlance).
260
+ * with an object definition (module class in scala compiler parlance)?
261
261
* If yes, `isType` is also guaranteed to be true.
262
262
*
263
263
* Note to compiler developers: During the "mixin" phase, trait implementation class symbols
@@ -294,7 +294,7 @@ trait Symbols { self: Universe =>
294
294
295
295
/** For a class: the module or case class factory with the same name in the same package.
296
296
* For a module: the class with the same name in the same package.
297
- * For all others: NoSymbol
297
+ * For all others: NoSymbol.
298
298
*
299
299
* This API may return unexpected results for module classes, packages and package classes.
300
300
* Use `companion` instead in order to get predictable results.
@@ -345,7 +345,7 @@ trait Symbols { self: Universe =>
345
345
*/
346
346
def overrides : List [Symbol ]
347
347
348
- /** The overloaded alternatives of this symbol
348
+ /** The overloaded alternatives of this symbol.
349
349
*
350
350
* @group Basics
351
351
*/
@@ -370,7 +370,7 @@ trait Symbols { self: Universe =>
370
370
371
371
/** Does this symbol represent a declaration or definition written in a source file as `private[this]`
372
372
* or generated in tree/symbol form with the combination of flags LOCAL and PRIVATE?
373
- * If yes, `isPrivate` is guaranteed to be true,
373
+ * If yes, `isPrivate` is guaranteed to be true.
374
374
*
375
375
* @group Tests
376
376
*/
@@ -678,7 +678,7 @@ trait Symbols { self: Universe =>
678
678
*/
679
679
def toTypeIn (site : Type ): Type
680
680
681
- /** A type reference that refers to this type symbol
681
+ /** A type reference that refers to this type symbol.
682
682
* Note if symbol is a member of a class, one almost always is interested
683
683
* in `asTypeIn` with a site type instead.
684
684
*
@@ -727,7 +727,7 @@ trait Symbols { self: Universe =>
727
727
*/
728
728
def isExistential : Boolean
729
729
730
- /** For a polymorphic type, its type parameters, the empty list for all other types
730
+ /** For a polymorphic type, its type parameters, the empty list for all other types.
731
731
*
732
732
* @group Type
733
733
*/
@@ -756,12 +756,13 @@ trait Symbols { self: Universe =>
756
756
*/
757
757
def typeParams : List [Symbol ]
758
758
759
- /** @see [[paramLists ]] */
759
+ /** @see [[paramLists ]]
760
+ *
761
+ * The name ending with "ss" indicates that the result type is a list of lists. */
760
762
@ deprecated(" Use `paramLists` instead" , " 2.11.0" )
761
763
def paramss : List [List [Symbol ]]
762
764
763
765
/** All parameter lists of the method.
764
- * The name ending with "ss" indicates that the result type is a list of lists.
765
766
*
766
767
* Can be used to distinguish nullary methods and methods with empty parameter lists.
767
768
* For a nullary method, returns the empty list (i.e. `List()`).
@@ -777,7 +778,7 @@ trait Symbols { self: Universe =>
777
778
*/
778
779
def isVarargs : Boolean
779
780
780
- /** The return type of the method
781
+ /** The return type of the method.
781
782
*
782
783
* @group Method
783
784
*/
@@ -911,7 +912,7 @@ trait Symbols { self: Universe =>
911
912
*/
912
913
def superPrefix (supertpe : Type ): Type
913
914
914
- /** For a polymorphic class/trait, its type parameters, the empty list for all other classes/trait
915
+ /** For a polymorphic class/trait, its type parameters, the empty list for all other classes/trait.
915
916
*
916
917
* @group Class
917
918
*/
0 commit comments