protected AsmManager() {
hierarchy = new AspectJElementHierarchy();
- List relationships = new ArrayList();
+// List relationships = new ArrayList();
mapper = new RelationshipMap(hierarchy);
}
package org.aspectj.asm;
-import org.aspectj.asm.internal.*;
-import org.aspectj.asm.internal.*;
+//import org.aspectj.asm.internal.*;
+//import org.aspectj.asm.internal.*;
/**
* @author Mik Kersten
import java.util.EventListener;
-import org.aspectj.asm.internal.*;
+//import org.aspectj.asm.internal.*;
/**
* Compiler listeners get notified of structure model update events.
import java.io.Serializable;
import java.util.List;
-import org.aspectj.asm.IRelationship.Kind;
+//import org.aspectj.asm.IRelationship.Kind;
/**
* Maps from a program element handles to a list of relationships between that element
StringTokenizer st = new StringTokenizer(handle, ProgramElement.ID_DELIM);
String file = st.nextToken();
int line = new Integer(st.nextToken()).intValue();
- int col = new Integer(st.nextToken()).intValue();
+// int col = new Integer(st.nextToken()).intValue();
// TODO: use column number when available
ret = findElementForSourceLine(file, line);
if (ret != null) {
private String bytecodeName;
private String bytecodeSignature;
- private String fullSignature;
+// private String fullSignature;
private String returnType;
private List parameterNames = null;
private static int AccVolatile = 0x0040;
private static int AccTransient = 0x0080;
private static int AccNative = 0x0100;
- private static int AccInterface = 0x0200;
+// private static int AccInterface = 0x0200;
private static int AccAbstract = 0x0400;
- private static int AccStrictfp = 0x0800;
+// private static int AccStrictfp = 0x0800;
public String getBytecodeName() {
import java.util.List;
-import org.aspectj.asm.*;
+//import org.aspectj.asm.*;
import org.aspectj.asm.IRelationship;
-import org.aspectj.asm.IRelationship.Kind;
+//import org.aspectj.asm.IRelationship.Kind;
/**
}
public void removeAll(String source) {
- List list = (List)super.remove(source);
+ super.remove(source);
}
public void put(String source, IRelationship relationship) {
package org.aspectj.bridge;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Collections;
-import java.util.Iterator;
import java.util.List;