1 8 package org.codehaus.aspectwerkz.transform.inlining.deployer; 9 10 import java.util.Set ; 11 import java.util.HashSet ; 12 13 import org.codehaus.aspectwerkz.transform.inlining.compiler.CompilationInfo; 14 import org.codehaus.aspectwerkz.transform.inlining.compiler.MatchingJoinPointInfo; 15 16 21 public final class ChangeSet { 22 private final Set m_set = new HashSet (); 23 24 29 public void addElement(final Element element) { 30 m_set.add(element); 31 } 32 33 38 public Set getElements() { 39 return m_set; 40 } 41 42 47 public static class Element { 48 private final CompilationInfo m_compilationInfo; 49 private final MatchingJoinPointInfo m_joinPointInfo; 50 51 public Element(final CompilationInfo compilationInfo, final MatchingJoinPointInfo joinPointInfo) { 52 m_compilationInfo = compilationInfo; 53 m_joinPointInfo = joinPointInfo; 54 } 55 56 public CompilationInfo getCompilationInfo() { 57 return m_compilationInfo; 58 } 59 60 public MatchingJoinPointInfo getJoinPointInfo() { 61 return m_joinPointInfo; 62 } 63 } 64 } | Popular Tags |