1 8 package org.codehaus.aspectwerkz.transform.inlining.compiler; 9 10 import org.codehaus.aspectwerkz.expression.ExpressionContext; 11 12 17 final public class MatchingJoinPointInfo { 18 private final Class m_joinPointClass; 19 private final CompilationInfo m_compilationInfo; 20 private final ExpressionContext m_expressionContext; 21 22 public MatchingJoinPointInfo(final Class joinPointClass, 23 final CompilationInfo compilationInfo, 24 final ExpressionContext expressionContext) { 25 m_joinPointClass = joinPointClass; 26 m_compilationInfo = compilationInfo; 27 m_expressionContext = expressionContext; 28 } 29 30 public Class getJoinPointClass() { 31 return m_joinPointClass; 32 } 33 34 public CompilationInfo getCompilationInfo() { 35 return m_compilationInfo; 36 } 37 38 public ExpressionContext getExpressionContext() { 39 return m_expressionContext; 40 } 41 42 public int hashCode() { 43 return m_compilationInfo.hashCode(); 44 } 45 46 public boolean equals(Object o) { 47 return ((MatchingJoinPointInfo) o).m_compilationInfo == m_compilationInfo; 48 } 49 } | Popular Tags |