polyglot.frontend.goals
Class SupertypesResolved

java.lang.Object
  extended by polyglot.frontend.goals.AbstractGoal
      extended by polyglot.frontend.goals.ClassTypeGoal
          extended by polyglot.frontend.goals.SupertypesResolved
All Implemented Interfaces:
Goal

public class SupertypesResolved
extends ClassTypeGoal

Comment for SuperTypesResolved

Author:
nystrom

Nested Class Summary
protected static class SupertypesResolved.SupertypesResolvedPass
           
 
Field Summary
 
Fields inherited from class polyglot.frontend.goals.ClassTypeGoal
ct
 
Fields inherited from class polyglot.frontend.goals.AbstractGoal
corequisites, job, name, prerequisites, state
 
Fields inherited from interface polyglot.frontend.goals.Goal
ATTEMPTED, REACHED, RUNNING, UNREACHABLE, UNREACHABLE_THIS_RUN, UNREACHED
 
Constructor Summary
protected SupertypesResolved(ParsedClassType ct)
           
 
Method Summary
 java.util.Collection corequisiteGoals(Scheduler scheduler)
          Goals on which this goal may mutually depend.
static Goal create(Scheduler scheduler, ParsedClassType ct)
           
 Pass createPass(ExtensionInfo extInfo)
          Creates a pass to attempt to satisfy the goal.
 boolean equals(java.lang.Object o)
           
protected  boolean isGlobal(ParsedClassType ct)
           
 java.util.Collection prerequisiteGoals(Scheduler scheduler)
          Goals that must be completed before attempting this goal.
 
Methods inherited from class polyglot.frontend.goals.ClassTypeGoal
hashCode, toString, type
 
Methods inherited from class polyglot.frontend.goals.AbstractGoal
addCorequisiteGoal, addPrerequisiteGoal, checkCycles, conflictsWith, hasBeenReached, isReachable, job, name, setState, setUnreachable, setUnreachableThisRun, state, stateString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SupertypesResolved

protected SupertypesResolved(ParsedClassType ct)
Method Detail

create

public static Goal create(Scheduler scheduler,
                          ParsedClassType ct)

createPass

public Pass createPass(ExtensionInfo extInfo)
Description copied from class: AbstractGoal
Creates a pass to attempt to satisfy the goal.

Specified by:
createPass in interface Goal
Specified by:
createPass in class AbstractGoal

prerequisiteGoals

public java.util.Collection prerequisiteGoals(Scheduler scheduler)
Description copied from interface: Goal
Goals that must be completed before attempting this goal. The graph of dependencies between prerequisite goals should be acyclic.

Specified by:
prerequisiteGoals in interface Goal
Overrides:
prerequisiteGoals in class AbstractGoal

isGlobal

protected boolean isGlobal(ParsedClassType ct)

corequisiteGoals

public java.util.Collection corequisiteGoals(Scheduler scheduler)
Description copied from interface: Goal
Goals on which this goal may mutually depend. If the passes for all corequisite goals are run (possibly more than once) they should all eventually be reached.

Specified by:
corequisiteGoals in interface Goal
Overrides:
corequisiteGoals in class AbstractGoal

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ClassTypeGoal