int getMethodIndex ( ExecutableElement method ) { TypeElement declaringClass = ( TypeElement ) method . getEnclosingElement ( ) ; String fullyQualifiedname = declaringClass . getQualifiedName ( ) . toString ( ) ; return getRefIndex ( Methodref . class , fullyQualifiedname , method . getSimpleName ( ) . toString ( ) , Descriptor . getDesriptor ( method ) ) ; }
Returns the constant map index to method