Переглянути джерело

Added support for getting/setting formal comments

tags/Root_ajdt_support
mkersten 20 роки тому
джерело
коміт
0838dbbc6b

+ 2
- 1
asm/src/org/aspectj/asm/IProgramElement.java Переглянути файл

@@ -82,7 +82,8 @@ public interface IProgramElement extends Serializable {
* @return the javadoc comment for this program element, null if not available
*/
public String getFormalComment();
public void setFormalComment(String comment);
/**
* Includes information about the origin of the node.
*/

+ 4
- 0
asm/src/org/aspectj/asm/internal/ProgramElement.java Переглянути файл

@@ -474,6 +474,10 @@ public class ProgramElement implements IProgramElement {
details = string;
}
public void setFormalComment(String formalComment) {
this.formalComment = formalComment;
}
/** AMC added to speed up findByHandle lookups in AspectJElementHierarchy */
private void cacheByHandle() {
String handle = getHandleIdentifier();

Завантаження…
Відмінити
Зберегти