| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Logger | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CompilerPass | |
| public static CompilerPass | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public abstract Object | execute(FullInterpreterContext
is the FullInterpreterContext to run this pass on fic, Object... is the data supplied to this pass to use to execute the pass dependencyData)Meat of an individual pass. |
| public List | |
| public abstract String | |
| public static List | |
| public String | |
| public int | |
| public boolean | Returns: true if invalidation succeeded, false otherwise.is where the pass stores its data. fic)The data that this pass is responsible for will get invalidated so that if this pass is then executed it will generate new pass data. |
| private Object | makeSureDependencyHasRunOnce(Class<? extends CompilerPass> passClass, FullInterpreterContext fic, boolean childScope)
|
| public Object | Returns: data or null if it needs to be runIf this pass has been previous run, then return the data from that last run. |
| protected Object | |
| public Object | |
| public Object |
| LOG | back to summary |
|---|---|
| pack-priv static final Logger LOG | |
| NO_DEPENDENCIES | back to summary |
|---|---|
| private static final List<Class<? extends CompilerPass>> NO_DEPENDENCIES | |
| CompilerPass | back to summary |
|---|---|
| public CompilerPass() | |
| createPassInstance | back to summary |
|---|---|
| public static CompilerPass createPassInstance(Class<? extends CompilerPass> passClass) | |
| createPassInstance | back to summary |
|---|---|
| public static CompilerPass createPassInstance(String passClassName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| execute | back to summary |
|---|---|
| public abstract Object execute(FullInterpreterContext fic, Object... dependencyData) Meat of an individual pass. run will call this after dependency resolution.
| |
| getDependencies | back to summary |
|---|---|
| public List | |
| getLabel | back to summary |
|---|---|
| public abstract String getLabel() What is the user-friendly name of this compiler pass | |
| getPassesFromString | back to summary |
|---|---|
| public static List | |
| getShortLabel | back to summary |
|---|---|
| public String getShortLabel() Shorter label | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invalidate | back to summary |
|---|---|
| public boolean invalidate(FullInterpreterContext fic) The data that this pass is responsible for will get invalidated so that if this pass is then executed it will generate new pass data. Note that some data will destructively manipulate dependent compiler pass data. In that case, the pass may wipe more than just it's data. In that case, an execute() should still rebuild everything fine because all compiler passes list their dependencies.
| |
| makeSureDependencyHasRunOnce | back to summary |
|---|---|
| private Object makeSureDependencyHasRunOnce(Class<? extends CompilerPass> passClass, FullInterpreterContext fic, boolean childScope) | |
| previouslyRun | back to summary |
|---|---|
| public Object previouslyRun(FullInterpreterContext fic) If this pass has been previous run, then return the data from that last run. Specific scopes can override this behavior.
| |
| run | back to summary |
|---|---|
| protected Object run(FullInterpreterContext fic, boolean force, boolean childScope) | |
| run | back to summary |
|---|---|
| public Object run(FullInterpreterContext fic, boolean force) | |
| run | back to summary |
|---|---|
| public Object run(FullInterpreterContext fic) | |