diff options
author | aclement <aclement> | 2008-08-23 04:17:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-23 04:17:44 +0000 |
commit | 026fb387b7d84d80f79e51a3d9623fa3c782b6d0 (patch) | |
tree | 75dc9b1926a22b5782db49df66c44bb70b59a40b /asm | |
parent | e0c401c92c0c586c37a17c563e73473a367f2dde (diff) | |
download | aspectj-026fb387b7d84d80f79e51a3d9623fa3c782b6d0.tar.gz aspectj-026fb387b7d84d80f79e51a3d9623fa3c782b6d0.zip |
243376: optimized interface
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/IRelationship.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/asm/src/org/aspectj/asm/IRelationship.java b/asm/src/org/aspectj/asm/IRelationship.java index 28ce68a1c..169aa3815 100644 --- a/asm/src/org/aspectj/asm/IRelationship.java +++ b/asm/src/org/aspectj/asm/IRelationship.java @@ -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; |