- All Implemented Interfaces:
- Comparable, Main.Trees
- Enclosing class:
- public class Main.CheckInterfaceTask
- extends Main.TreeProcessingTask
This class checks the interfaces of the declarations in the
source code. The class is constructed on an AST forest.
|Fields inherited from class org.multijava.mjc.Main.Task
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Main.CheckInterfaceTask(CompilerPassEnterable trees,
- Constructs a task for checking the interfaces in the given
forest. Stores an alias to trees.
public void execute()
- Description copied from class:
- Executes the task represented by this.
execute in class
protected void processTree(CompilerPassEnterable tree)
- Checks the basic interfaces to make sure things generally
look OK. This pass gathers information about the type
signatures of everything (imported class files, classes
being compiled, methods, fields, etc...) needed for the
later passes. This information is stored in a
CCompilationUnit instance and instances of CMember that are
bound to the AST. Also adds things like the default
constructor and the initializer method to the AST (these
are suppressed during pretty-printing).
tree - the compilation unit
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.