public interface IInvisibleCompilationUnit extends ICompilationUnit
IInvisibleCompilationUnit
will change
the state of an IASProject
in a way that is visible to other
ICompilationUnit
's in the IASProject
.ICompilationUnit.Operation, ICompilationUnit.UnitType
Modifier and Type | Method and Description |
---|---|
void |
clean()
Invalidates the processing results of this
IInvisibleCompilationUnit . |
void |
getCompilerProblems(Collection<ICompilerProblem> problems)
Finds all the
ICompilerProblem 's in this IInvisibleCompilationUnit . |
void |
remove()
Explicitly removes this
IInvisibleCompilationUnit from an
IASProject . |
clean, clearProject, getABCBytesRequest, getAbsoluteFilename, getCompilationUnitType, getDefinitionPriority, getDefinitionPromises, getEmbeddedFilenames, getFileScopeRequest, getName, getOutgoingDependenciesRequest, getProject, getQualifiedNames, getShortNames, getSWFTagsRequest, getSyntaxTreeRequest, isInvisible, startBuildAsync, waitForBuildFinish
void getCompilerProblems(Collection<ICompilerProblem> problems) throws InterruptedException
ICompilerProblem
's in this IInvisibleCompilationUnit
.problems
- Collection
the ICompilerProblem
's should be added to.InterruptedException
void clean()
IInvisibleCompilationUnit
. Should be called by clients when ever
any of the inputs of this IInvisibleCompilationUnit
change.
Changes to the IASProject
's settings do *not* automatically
invalidate the processing results of this
IInvisibleCompilationUnit
. Clients should manually call this
methods after changing a IASProject
settings ( we should fix
this in the future... ).void remove()
IInvisibleCompilationUnit
from an
IASProject
. This method will ensure that various cache entries
in the IASProject
and IWorkspace
are purged.
Clients don't need to call this, but calling it allows certain resource cleanups to happen earlier than would normally.
Copyright © 2016 The Apache Software Foundation. All rights reserved.