]> source.dussan.org Git - aspectj.git/commitdiff
243376: optimized interface
authoraclement <aclement>
Sat, 23 Aug 2008 04:17:44 +0000 (04:17 +0000)
committeraclement <aclement>
Sat, 23 Aug 2008 04:17:44 +0000 (04:17 +0000)
asm/src/org/aspectj/asm/IRelationship.java

index 28ce68a1c68d49846f34685b7aba9a1fa9afd027..169aa3815ba91f2e36d49b171b891e3add26587c 100644 (file)
@@ -9,12 +9,11 @@
  * Contributors: 
  *     Mik Kersten     initial implementation 
  * ******************************************************************/
-
-
 package org.aspectj.asm;
 
 import java.io.*;
 import java.util.List;
+import java.util.Set;
 
 /**
  * @author Mik Kersten
@@ -27,16 +26,13 @@ public interface IRelationship extends Serializable {
        
        public String getSourceHandle();
        
-       public boolean addTarget(String handle);
+       public void addTarget(String handle);
        
        public Kind getKind();
        
        public boolean hasRuntimeTest();
                
-       /**
-        * Uses "typesafe enum" pattern.
-        */
-       public static class Kind implements Serializable {
+       public static class Kind implements Serializable { // typesafe enum
                
                private static final long serialVersionUID = -2691351740214705220L;