public boolean usesMethod(String className, String methodName) {
		int classIndex = findClass(className);
		if (classIndex == NOT_FOUND) return false;
		int methodNameIndex = findUtf8(methodName);
		if (methodNameIndex == NOT_FOUND) return false;
		
		for (int i = 1; i < maxPoolSize; i++) {
			if (isMethod(i) && readValue(offsets[i]) == classIndex) {
				int nameAndTypeIndex = readValue(offsets[i] + 2);
				if (readValue(offsets[nameAndTypeIndex]) == methodNameIndex) return true;
			}
		}
		return false;
	}
public boolean usesMethod ( String className , String methodName ) { int classIndex = findClass ( className ) ; if ( classIndex == NOT_FOUND ) return false ; int methodNameIndex = findUtf8 ( methodName ) ; if ( methodNameIndex == NOT_FOUND ) return false ; for ( int i = 1 ; i < maxPoolSize ; i ++ ) { if ( isMethod ( i ) && readValue ( offsets [ i ] ) == classIndex ) { int nameAndTypeIndex = readValue ( offsets [ i ] + 2 ) ; if ( readValue ( offsets [ nameAndTypeIndex ] ) == methodNameIndex ) return true ; } } return false ; }
Checks if the constant pool contains a reference to a given method, with any signature (return type and parameter types).

@param className must be provided JVM-style, such as {@code java/lang/String}