| Modifier and Type | Field and Description |
|---|---|
| private transient AsmManager | |
| protected String | |
| private Map | |
| private Map | |
| protected IProgramElement | |
| private static final long | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | |
| private IProgramElement | |
| private IProgramElement | |
| public IProgramElement | Returns: any closer match below 'node' or null if nothing is a more accurate matchwhere to start looking node, int the line number lineno)Implements org. |
| public IProgramElement | |
| private IProgramElement | |
| public IProgramElement | findElementForHandleOrCreate(String handle, boolean create)
Implements org. |
| public IProgramElement | findElementForLabel(IProgramElement parent, IProgramElement.
not null kind,Implements org. |
| public IProgramElement | findElementForOffSet(String sourceFilePath, int lineNumber, int offSet)
Implements org. |
| public IProgramElement | Returns: null if not foundnot null kind,Implements org. |
| public IProgramElement | Returns: a new structure node for the file if it was not found in the modelmodified to '/' delimited path for consistency sourceFile)Implements org. |
| public IProgramElement | findElementForSourceLine(ISourceLocation location)
Implements org. |
| public IProgramElement | Returns: a new structure node for the file if it was not found in the modelcanonicalized path for consistency sourceFilePath, int if 0 or 1 the corresponding file node will be returned lineNumber)Implements org. |
| public IProgramElement | Returns: the IProgramElement representing the type, or null if not foundthe package in which the type is declared or null for the default package packageName, String the name of the type typeName)Implements org. |
| public IProgramElement | |
| public List | Returns: a list of package nodes that match that namethe packagename being searched for packagename)Look for any package nodes matching the specified package name. |
| public IProgramElement | Returns: the node representing that source file or null if it cannot be foundwhere in the model to start looking (usually the root on the initial call) node, String the source file being searched for sourcefilePath)Implements org. |
| private IProgramElement | |
| public void | |
| public void | |
| public void | |
| public void | |
| private String | |
| public String | |
| public IProgramElement | |
| public Set | |
| private String | |
| public IProgramElement | |
| private boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public void |
| asm | back to summary |
|---|---|
| private transient AsmManager asm | |
| configFile | back to summary |
|---|---|
| protected String configFile | |
| fileMap | back to summary |
|---|---|
| private Map<String, IProgramElement> fileMap | |
| handleMap | back to summary |
|---|---|
| private Map<String, IProgramElement> handleMap | |
| root | back to summary |
|---|---|
| protected IProgramElement root | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| typeMap | back to summary |
|---|---|
| private Map<String, IProgramElement> typeMap | |
| AspectJElementHierarchy | back to summary |
|---|---|
| public AspectJElementHierarchy(AsmManager asm) | |
| addToFileMap | back to summary |
|---|---|
| public void addToFileMap(String key, IProgramElement value) Implements org. | |
| cache | back to summary |
|---|---|
| protected void cache(String handle, IProgramElement pe) | |
| createFileStructureNode | back to summary |
|---|---|
| private IProgramElement createFileStructureNode(String sourceFilePath) | |
| findClassInNodes | back to summary |
|---|---|
| private IProgramElement findClassInNodes(Collection<IProgramElement> nodes, String name, String typeName) | |
| findCloserMatchForLineNumber | back to summary |
|---|---|
| public IProgramElement findCloserMatchForLineNumber(IProgramElement node, int lineno) Implements org. For a specified node, check if any of the children more accurately represent the specified line.
| |
| findElementForHandle | back to summary |
|---|---|
| public IProgramElement findElementForHandle(String handle) Implements org. | |
| findElementForHandle | back to summary |
|---|---|
| private IProgramElement findElementForHandle(IProgramElement parent, String handle) | |
| findElementForHandleOrCreate | back to summary |
|---|---|
| public IProgramElement findElementForHandleOrCreate(String handle, boolean create) Implements org. | |
| findElementForLabel | back to summary |
|---|---|
| public IProgramElement findElementForLabel(IProgramElement parent, IProgramElement. Implements org. Doc from org. Returns the first match
| |
| findElementForOffSet | back to summary |
|---|---|
| public IProgramElement findElementForOffSet(String sourceFilePath, int lineNumber, int offSet) Implements org. | |
| findElementForSignature | back to summary |
|---|---|
| public IProgramElement findElementForSignature(IProgramElement parent, IProgramElement. Implements org. Returns the first match
| |
| findElementForSourceFile | back to summary |
|---|---|
| public IProgramElement findElementForSourceFile(String sourceFile) Implements org.
| |
| findElementForSourceLine | back to summary |
|---|---|
| public IProgramElement findElementForSourceLine(ISourceLocation location) Implements org. TODO: discriminate columns | |
| findElementForSourceLine | back to summary |
|---|---|
| public IProgramElement findElementForSourceLine(String sourceFilePath, int lineNumber) Implements org. Never returns null
| |
| findElementForType | back to summary |
|---|---|
| public IProgramElement findElementForType(String packageName, String typeName) Implements org. Find the entry in the model that represents a particular type.
| |
| findInFileMap | back to summary |
|---|---|
| public IProgramElement findInFileMap(String key) Implements org. | |
| findMatchingPackages | back to summary |
|---|---|
| public List Look for any package nodes matching the specified package name. There may be multiple in the case where the types within a package are split across source folders.
| |
| findNodeForSourceFile | back to summary |
|---|---|
| public IProgramElement findNodeForSourceFile(IProgramElement node, String sourcefilePath) Implements org. Discover the node representing a particular source file.
| |
| findNodeForSourceLineHelper | back to summary |
|---|---|
| private IProgramElement findNodeForSourceLineHelper(IProgramElement node, String sourceFilePath, int lineno, int offset) | |
| flushFileMap | back to summary |
|---|---|
| public void flushFileMap() | |
| flushHandleMap | back to summary |
|---|---|
| public void flushHandleMap() Implements org. | |
| flushTypeMap | back to summary |
|---|---|
| public void flushTypeMap() Implements org. | |
| forget | back to summary |
|---|---|
| public void forget(IProgramElement compilationUnitNode, IProgramElement typeNode) | |
| getCanonicalFilePath | back to summary |
|---|---|
| private String getCanonicalFilePath(IProgramElement ipe) | |
| getConfigFile | back to summary |
|---|---|
| public String getConfigFile() Implements org. | |
| getElement | back to summary |
|---|---|
| public IProgramElement getElement(String handle) Implements org. | |
| getFileMapEntrySet | back to summary |
|---|---|
| public Set Implements org. | |
| getFilename | back to summary |
|---|---|
| private String getFilename(String hid) | |
| getRoot | back to summary |
|---|---|
| public IProgramElement getRoot() Implements org. | |
| hasMoreSpecificChild | back to summary |
|---|---|
| private boolean hasMoreSpecificChild(IProgramElement node, String sourceFilePath, int lineNumber, int offSet) | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org. | |
| matches | back to summary |
|---|---|
| private boolean matches(IProgramElement node, String sourceFilePath, int lineNumber, int offSet) | |
| removeFromFileMap | back to summary |
|---|---|
| public boolean removeFromFileMap(String canonicalFilePath) Implements org. | |
| setAsmManager | back to summary |
|---|---|
| public void setAsmManager(AsmManager asm) | |
| setConfigFile | back to summary |
|---|---|
| public void setConfigFile(String configFile) Implements org. | |
| setFileMap | back to summary |
|---|---|
| public void setFileMap(Map<String, IProgramElement> fileMap) Implements org. | |
| setRoot | back to summary |
|---|---|
| public void setRoot(IProgramElement root) Implements org. | |
| toSummaryString | back to summary |
|---|---|
| public String toSummaryString() | |
| updateHandleMap | back to summary |
|---|---|
| public void updateHandleMap(Set<String> deletedFiles) Implements org. | |