summaryrefslogtreecommitdiff
path: root/sources/scalac/ast/TreeInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/ast/TreeInfo.java')
-rw-r--r--sources/scalac/ast/TreeInfo.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/sources/scalac/ast/TreeInfo.java b/sources/scalac/ast/TreeInfo.java
index d0a8b41311..d7efc130cc 100644
--- a/sources/scalac/ast/TreeInfo.java
+++ b/sources/scalac/ast/TreeInfo.java
@@ -239,15 +239,4 @@ public class TreeInfo {
return false;
}
}
-
- /** returns true if the argument is a wildcard pattern
- */
- public static boolean isWildcardPattern( Tree tree ) {
- switch( tree ) {
- case Ident( Name n ):
- return ( n == Names.WILDCARD ) && ( tree.symbol() == null );
- default:
- return false;
- }
- }
}