org.acm.seguin.summary.query
Class SameMethod

java.lang.Object
  extended by org.acm.seguin.summary.query.SameMethod

public class SameMethod
extends java.lang.Object

Checks that two methods are the same. Also provides a search feature to find a method with a specific signature in a type

Author:
Chris Seguin

Constructor Summary
SameMethod()
           
 
Method Summary
static boolean conflict(MethodSummary one, MethodSummary two)
          Description of the Method
static MethodSummary find(TypeSummary type, MethodSummary method)
          Finds the method with the same signature in the other type
static MethodSummary findConflict(TypeSummary type, MethodSummary method)
          Finds the method with a conflicting in the other type
static boolean query(MethodSummary one, MethodSummary two)
          Checks if two methods are the same
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameMethod

public SameMethod()
Method Detail

query

public static boolean query(MethodSummary one,
                            MethodSummary two)
Checks if two methods are the same

Parameters:
one - Description of Parameter
two - Description of Parameter
Returns:
Description of the Returned Value

conflict

public static boolean conflict(MethodSummary one,
                               MethodSummary two)
Description of the Method

Parameters:
one - Description of Parameter
two - Description of Parameter
Returns:
Description of the Returned Value

find

public static MethodSummary find(TypeSummary type,
                                 MethodSummary method)
Finds the method with the same signature in the other type

Parameters:
type - Description of Parameter
method - Description of Parameter
Returns:
Description of the Returned Value

findConflict

public static MethodSummary findConflict(TypeSummary type,
                                         MethodSummary method)
Finds the method with a conflicting in the other type

Parameters:
type - Description of Parameter
method - Description of Parameter
Returns:
Description of the Returned Value