| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | AsmManager.ModelInfo
A ModelInfo object captures basic information about the structure model. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Set | |
| public static boolean | |
| private final AsmManager. | |
| private static boolean | |
| private static boolean | |
| private static String | |
| private static boolean | |
| public static boolean | |
| private static boolean | |
| public static boolean | |
| private IElementHandleProvider | |
| protected IHierarchy | |
| protected Map | |
| public static AsmManager | |
| private final Set | |
| private IRelationshipMap | |
| private static IModelFilter | |
| public static boolean | |
| private static boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public static AsmManager | |
| public void | |
| private void | |
| public static void | |
| public static void | |
| public void | |
| private String | |
| private void | getAllStructureChildren(IProgramElement node, List<IProgramElement> result, boolean showSubMember, boolean showMemberAndType)
|
| public Set | Returns: the Set of aspects that wove files on the last build (either incremental or full build)
|
| public String | |
| public AsmManager. | |
| public String | |
| public IElementHandleProvider | |
| public IHierarchy | |
| public HashMap | getInlineAnnotations(String sourceFile, boolean showSubMember, boolean showMemberAndType)
Constructs map each time it's called. |
| public Set | Returns: the Set of files for which the structure model was modified (they may have been removed or otherwise rebuilt). Set is empty for a full build.
|
| public IRelationshipMap | |
| private String | |
| public static boolean | |
| private boolean | Returns: true if the handle contains ';' - the char indicating that it is a phantom handlea JDT like handle, following the form described in AsmRelationshipProvider.findOrFakeUpNode handle)
|
| public static boolean | |
| private void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | removeRelationshipsTargettingThisType(String typename)
two kinds of relationships A affects B B affectedBy A Both of these relationships are added when 'B' is modified. |
| private void | removeSingleNode(IProgramElement progElem)
Removes a specified program element from the structure model. |
| public void | |
| public boolean | removeStructureModelForFiles(Writer fw, Collection<File> files)
Removes the hierarchy structure for the specified files from the structure model. |
| private void | repairRelationships(Writer fw)
Go through all the relationships in the model, if any endpoints no longer exist (the node it points to has been deleted from the model) then delete the relationship. |
| public void | |
| public void | |
| private boolean | sameType(String hid, IProgramElement target, IProgramElement type)
Return true if the target element is in the type specified. |
| public static void | setCompletingTypeBindings(boolean b)
Set to indicate whether we are currently building a structure model, should be set up front. |
| public static void | |
| public void | |
| public static void | |
| public static void | setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile)
|
| public static void | setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile, IModelFilter aFilter)
|
| public AsmManager. | |
| public static void | |
| public static void | |
| public void |
| aspectsWeavingInLastBuild | back to summary |
|---|---|
| pack-priv final Set<File> aspectsWeavingInLastBuild | |
| attemptIncrementalModelRepairs | back to summary |
|---|---|
| public static boolean attemptIncrementalModelRepairs | |
| canonicalFilePathMap | back to summary |
|---|---|
| private final AsmManager. | |
| completingTypeBindings | back to summary |
|---|---|
| private static boolean completingTypeBindings | |
| dumpDeltaProcessing | back to summary |
|---|---|
| private static boolean dumpDeltaProcessing | |
| dumpFilename | back to summary |
|---|---|
| private static String dumpFilename | |
| dumpModel | back to summary |
|---|---|
| private static boolean dumpModel | |
| dumpModelPostBuild | back to summary |
|---|---|
| public static boolean dumpModelPostBuild | |
| dumpRelationships | back to summary |
|---|---|
| private static boolean dumpRelationships | |
| forceSingletonBehaviour | back to summary |
|---|---|
| public static boolean forceSingletonBehaviour | |
| handleProvider | back to summary |
|---|---|
| private IElementHandleProvider handleProvider | |
| hierarchy | back to summary |
|---|---|
| protected IHierarchy hierarchy | |
| inpathMap | back to summary |
|---|---|
| protected Map<File, String> inpathMap | |
| lastActiveStructureModel | back to summary |
|---|---|
| public static AsmManager lastActiveStructureModel | |
| lastBuildChanges | back to summary |
|---|---|
| private final Set<File> lastBuildChanges | |
| mapper | back to summary |
|---|---|
| private IRelationshipMap mapper | |
| modelFilter | back to summary |
|---|---|
| private static IModelFilter modelFilter | |
| recordingLastActiveStructureModel | back to summary |
|---|---|
| public static boolean recordingLastActiveStructureModel | |
| reporting | back to summary |
|---|---|
| private static boolean reporting | |
| structureListeners | back to summary |
|---|---|
| private final List<IHierarchyListener> structureListeners | |
| AsmManager | back to summary |
|---|---|
| private AsmManager() | |
| addAspectInEffectThisBuild | back to summary |
|---|---|
| public void addAspectInEffectThisBuild(File f) | |
| addListener | back to summary |
|---|---|
| public void addListener(IHierarchyListener listener) | |
| createNewStructureModel | back to summary |
|---|---|
| public static AsmManager createNewStructureModel(Map<File, String> inpathMap) | |
| dumprels | back to summary |
|---|---|
| public void dumprels(Writer w) throws IOException | |
| dumprelsStderr | back to summary |
|---|---|
| private void dumprelsStderr(String key) | |
| dumptree | back to summary |
|---|---|
| public static void dumptree(Writer w, IProgramElement node, int indent) throws IOException | |
| dumptree | back to summary |
|---|---|
| public static void dumptree(IProgramElement node, int indent) throws IOException | |
| fireModelUpdated | back to summary |
|---|---|
| public void fireModelUpdated() | |
| genExternFilePath | back to summary |
|---|---|
| private String genExternFilePath(String configFilePath) | |
| getAllStructureChildren | back to summary |
|---|---|
| private void getAllStructureChildren(IProgramElement node, List<IProgramElement> result, boolean showSubMember, boolean showMemberAndType) | |
| getAspectsWeavingFilesOnLastBuild | back to summary |
|---|---|
| public Set | |
| getCanonicalFilePath | back to summary |
|---|---|
| public String getCanonicalFilePath(File f) | |
| getCanonicalFilePathMap | back to summary |
|---|---|
| public AsmManager. | |
| getHandleElementForInpath | back to summary |
|---|---|
| public String getHandleElementForInpath(String binaryPath) | |
| getHandleProvider | back to summary |
|---|---|
| public IElementHandleProvider getHandleProvider() | |
| getHierarchy | back to summary |
|---|---|
| public IHierarchy getHierarchy() | |
| getInlineAnnotations | back to summary |
|---|---|
| public HashMap Constructs map each time it's called. | |
| getModelChangesOnLastBuild | back to summary |
|---|---|
| public Set | |
| getRelationshipMap | back to summary |
|---|---|
| public IRelationshipMap getRelationshipMap() | |
| getTypeNameFromHandle | back to summary |
|---|---|
| private String getTypeNameFromHandle(String handle, Map<String, String> cache) | |
| isCompletingTypeBindings | back to summary |
|---|---|
| public static boolean isCompletingTypeBindings() | |
| isPhantomHandle | back to summary |
|---|---|
private boolean isPhantomHandle(String handle)
| |
| isReporting | back to summary |
|---|---|
| public static boolean isReporting() | |
| notifyListeners | back to summary |
|---|---|
| private void notifyListeners() | |
| processDelta | back to summary |
|---|---|
| public void processDelta(Collection<File> files_tobecompiled, Set<File> files_added, Set<File> files_deleted) | |
| readStructureModel | back to summary |
|---|---|
public void readStructureModel(String configFilePath)
| |
| removeAllListeners | back to summary |
|---|---|
| public void removeAllListeners() | |
| removeNode | back to summary |
|---|---|
| private void removeNode(IProgramElement progElem) Removes a specified program element from the structure model. Two processing stages: First: We go to the parent of the program element, ask for all its children and remove the node we want to delete from the list of children. Second:We check if that parent has any other children. If it has no other children and it is either a CODE node or a PACKAGE node, we delete it too. | |
| removeRelationshipsTargettingThisType | back to summary |
|---|---|
| public void removeRelationshipsTargettingThisType(String typename) two kinds of relationships A affects B B affectedBy A Both of these relationships are added when 'B' is modified. Concrete examples are 'advises/advisedby' or 'annotates/annotatedby'. What we need to do is when 'B' is going to be woven, remove all relationships that may reoccur when it is woven. So - remove 'affects' relationships where the target is 'B', remove all 'affectedBy' relationships where the source is 'B'. | |
| removeSingleNode | back to summary |
|---|---|
| private void removeSingleNode(IProgramElement progElem) Removes a specified program element from the structure model. We go to the parent of the program element, ask for all its children and remove the node we want to delete from the list of children. | |
| removeStructureListener | back to summary |
|---|---|
| public void removeStructureListener(IHierarchyListener listener) | |
| removeStructureModelForFiles | back to summary |
|---|---|
| public boolean removeStructureModelForFiles(Writer fw, Collection<File> files) throws IOException Removes the hierarchy structure for the specified files from the structure model. Returns true if it deleted anything | |
| repairRelationships | back to summary |
|---|---|
| private void repairRelationships(Writer fw) Go through all the relationships in the model, if any endpoints no longer exist (the node it points to has been deleted from the model) then delete the relationship. | |
| reportModelInfo | back to summary |
|---|---|
| public void reportModelInfo(String reasonForReport) | |
| resetDeltaProcessing | back to summary |
|---|---|
| public void resetDeltaProcessing() | |
| sameType | back to summary |
|---|---|
| private boolean sameType(String hid, IProgramElement target, IProgramElement type) Return true if the target element is in the type specified. | |
| setCompletingTypeBindings | back to summary |
|---|---|
| public static void setCompletingTypeBindings(boolean b) Set to indicate whether we are currently building a structure model, should be set up front. | |
| setDontReport | back to summary |
|---|---|
| public static void setDontReport() | |
| setHandleProvider | back to summary |
|---|---|
| public void setHandleProvider(IElementHandleProvider handleProvider) | |
| setLastActiveStructureModel | back to summary |
|---|---|
| public static void setLastActiveStructureModel(AsmManager structureModel) | |
| setReporting | back to summary |
|---|---|
| public static void setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile) | |
| setReporting | back to summary |
|---|---|
| public static void setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile, IModelFilter aFilter) | |
| summarizeModel | back to summary |
|---|---|
| public AsmManager. | |
| verifyAssumption | back to summary |
|---|---|
| public static void verifyAssumption(boolean b, String info) | |
| verifyAssumption | back to summary |
|---|---|
| public static void verifyAssumption(boolean b) | |
| writeStructureModel | back to summary |
|---|---|
| public void writeStructureModel(String configFilePath) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| MAX_SIZE | back to summary |
|---|---|
| private static final int MAX_SIZE | |
| pathMap | back to summary |
|---|---|
| private final Map<String, String> pathMap | |
| CanonicalFilePathMap | back to summary |
|---|---|
| private CanonicalFilePathMap() | |
| get | back to summary |
|---|---|
| public String get(File f) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Properties | |
| private final Hashtable |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Properties | |
| public void | |
| public String | |
| private void |
| extraProperties | back to summary |
|---|---|
| private final Properties extraProperties | |
| nodeTypeCount | back to summary |
|---|---|
| private final Hashtable<String, Integer> nodeTypeCount | |
| ModelInfo | back to summary |
|---|---|
| private ModelInfo(IHierarchy hierarchy, IRelationshipMap relationshipMap) | |
| countNode | back to summary |
|---|---|
| private void countNode(IProgramElement ipe) | |
| getProperties | back to summary |
|---|---|
| public Properties getProperties() | |
| recordStat | back to summary |
|---|---|
| public void recordStat(String string, String string2) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| walkModel | back to summary |
|---|---|
| private void walkModel(IProgramElement ipe) | |