summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/library/scala/reflect/api/Types.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/library/scala/reflect/api/Types.scala b/src/library/scala/reflect/api/Types.scala
index 75189d51cb..4b959649fd 100755
--- a/src/library/scala/reflect/api/Types.scala
+++ b/src/library/scala/reflect/api/Types.scala
@@ -12,12 +12,16 @@ trait Types { self: Universe =>
*/
def typeSymbol: Symbol
- /** The defined or declared members with name `name` in this type;
+ /** The defined or declared members with name `name` in this type;
* an OverloadedSymbol if several exist, NoSymbol if none exist.
* Alternatives of overloaded symbol appear in the order they are declared.
*/
def declaration(name: Name): Symbol
+ /** The collection of declarations in this type
+ */
+ def allDeclarations: Iterable[Symbol]
+
/** The member with given name, either directly declared or inherited,
* an OverloadedSymbol if several exist, NoSymbol if none exist.
*/
@@ -152,10 +156,6 @@ trait Types { self: Universe =>
/** The list of parent types of this compound type */
def parents: List[Type]
-
- /** The collection of declarations in this compound type
- */
- def allDeclarations: Iterable[Symbol]
}
/** The type of Scala types, and also Scala type signatures.