joeq.Compiler
Class CompilationState

java.lang.Object
  extended by joeq.Compiler.CompilationState
All Implemented Interfaces:
CompilationConstants
Direct Known Subclasses:
CompilationState.BootstrapCompilation, CompilationState.DynamicCompilation, CompilationState.StaticCompilation

public abstract class CompilationState
extends Object
implements CompilationConstants

CompilationState

Version:
$Id: CompilationState.java 1931 2004-09-22 22:17:47Z joewhaley $
Author:
John Whaley

Nested Class Summary
static class CompilationState.BootstrapCompilation
           
static class CompilationState.DynamicCompilation
           
static class CompilationState.StaticCompilation
           
 
Field Summary
static CompilationState DEFAULT
          Default compilation state object.
static boolean VerifyAssertions
           
 
Fields inherited from interface joeq.Compiler.CompilationConstants
MAYBE, NO, YES
 
Constructor Summary
CompilationState()
           
 
Method Summary
abstract  byte declaresInterface(jq_Class klass, Collection interfaces)
           
abstract  jq_Type findCommonSuperclass(jq_Type t1, jq_Type t2)
           
abstract  jq_Type getOrCreateType(Utf8 desc)
           
 List.jq_Class getThrownExceptions(Quad q)
           
abstract  byte implementsInterface(jq_Class klass, jq_Class inter)
           
abstract  byte isSubtype(jq_Type t1, jq_Type t2)
           
abstract  boolean needsDynamicLink(jq_Method method, jq_Member member)
           
abstract  boolean needsDynamicLink(jq_Method method, jq_Type type)
           
abstract  jq_Member resolve(jq_Member m)
           
abstract  jq_Member tryResolve(jq_Member m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static CompilationState DEFAULT
Default compilation state object. This is here temporarily until we remove all static calls in the compiler.


VerifyAssertions

public static final boolean VerifyAssertions
See Also:
Constant Field Values
Constructor Detail

CompilationState

public CompilationState()
Method Detail

needsDynamicLink

public abstract boolean needsDynamicLink(jq_Method method,
                                         jq_Member member)

needsDynamicLink

public abstract boolean needsDynamicLink(jq_Method method,
                                         jq_Type type)

tryResolve

public abstract jq_Member tryResolve(jq_Member m)

resolve

public abstract jq_Member resolve(jq_Member m)

isSubtype

public abstract byte isSubtype(jq_Type t1,
                               jq_Type t2)

findCommonSuperclass

public abstract jq_Type findCommonSuperclass(jq_Type t1,
                                             jq_Type t2)

declaresInterface

public abstract byte declaresInterface(jq_Class klass,
                                       Collection interfaces)

implementsInterface

public abstract byte implementsInterface(jq_Class klass,
                                         jq_Class inter)

getOrCreateType

public abstract jq_Type getOrCreateType(Utf8 desc)

getThrownExceptions

public List.jq_Class getThrownExceptions(Quad q)


Copyright © 2001-2008 John Whaley. All Rights Reserved.