summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/classfile/JavaTypeFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/symtab/classfile/JavaTypeFactory.java')
-rw-r--r--sources/scalac/symtab/classfile/JavaTypeFactory.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/sources/scalac/symtab/classfile/JavaTypeFactory.java b/sources/scalac/symtab/classfile/JavaTypeFactory.java
new file mode 100644
index 0000000000..8205055bc9
--- /dev/null
+++ b/sources/scalac/symtab/classfile/JavaTypeFactory.java
@@ -0,0 +1,28 @@
+/* ____ ____ ____ ____ ______ *\
+** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
+** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
+** /_____/\____/\___/\____/____/ **
+** **
+** $Id$
+\* */
+
+package scalac.symtab.classfile;
+
+import scalac.symtab.Type;
+import scalac.util.Name;
+
+public interface JavaTypeFactory {
+ Type byteType();
+ Type shortType();
+ Type charType();
+ Type intType();
+ Type longType();
+ Type floatType();
+ Type doubleType();
+ Type booleanType();
+ Type voidType();
+ Type classType(Name classname);
+ Type arrayType(Type elemtpe);
+ Type methodType(Type[] argtpes, Type restpe, Type[] thrown);
+ Type packageType(Name packagename);
+}