summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/classfile/JavaTypeFactory.java
blob: af89fce22be19cd3b5d59efcd93ddd4fd8f7c765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*     ____ ____  ____ ____  ______                                     *\
**    / __// __ \/ __// __ \/ ____/    SOcos COmpiles Scala             **
**  __\_ \/ /_/ / /__/ /_/ /\_ \       (c) 2002, LAMP/EPFL              **
** /_____/\____/\___/\____/____/                                        **
**                                                                      **
** $Id$
\*                                                                      */

package scalac.symtab.classfile;

import scalac.atree.AConstant;
import scalac.symtab.Symbol;
import scalac.symtab.Type;
import scalac.util.Name;

public interface JavaTypeFactory {
    Type anyType();
    Type byteType();
    Type shortType();
    Type charType();
    Type intType();
    Type longType();
    Type floatType();
    Type doubleType();
    Type booleanType();
    Type voidType();
    Type objectType();
    Type stringType();
    Type classType(String classname);
    Type classType(Symbol clasz);
    Type arrayType(Type elemtpe);
    Type methodType(Type[] argtpes, Type restpe, Type[] thrown);
    Type packageType(Name packagename);
    Type constantType(AConstant value);
}