public InterfaceMethodRefConstant getInterfaceRef ( String className , String name , String type ) { for ( int i = 0 ; i < _entries . size ( ) ; i ++ ) { ConstantPoolEntry entry = _entries . get ( i ) ; if ( ! ( entry instanceof InterfaceMethodRefConstant ) ) continue ; InterfaceMethodRefConstant methodEntry ; methodEntry = ( InterfaceMethodRefConstant ) entry ; if ( methodEntry . getClassName ( ) . equals ( className ) && methodEntry . getName ( ) . equals ( name ) && methodEntry . getType ( ) . equals ( type ) ) return methodEntry ; } return null ; }
Gets an interface constant .