com.mebigfatguy.fbcontrib.utils
Class SignatureUtils

java.lang.Object
  extended by com.mebigfatguy.fbcontrib.utils.SignatureUtils

public class SignatureUtils
extends java.lang.Object


Constructor Summary
SignatureUtils()
           
 
Method Summary
static boolean isInheritedMethod(org.apache.bcel.classfile.JavaClass cls, java.lang.String methodName, java.lang.String signature)
           
static boolean similarPackages(java.lang.String packName1, java.lang.String packName2, int depth)
          returns whether or not the two packages have the same first 'depth' parts, if they exist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureUtils

public SignatureUtils()
Method Detail

isInheritedMethod

public static boolean isInheritedMethod(org.apache.bcel.classfile.JavaClass cls,
                                        java.lang.String methodName,
                                        java.lang.String signature)
                                 throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

similarPackages

public static boolean similarPackages(java.lang.String packName1,
                                      java.lang.String packName2,
                                      int depth)
returns whether or not the two packages have the same first 'depth' parts, if they exist

Parameters:
packName1 - the first package to check
packName2 - the second package to check
depth - the number of package parts to check
Returns:
if they are similar


Copyright © 2005-2008 MeBigFatGuy.com. All Rights Reserved.