private Object getMemberKey(ProgramElementDoc doc) {
        if (doc.isConstructor()) {
            return doc.name() + ((ExecutableMemberDoc)doc).signature();
        } else if (doc.isMethod()) {
            return getClassMember((MethodDoc) doc);
        } else if (doc.isField() || doc.isEnumConstant() || doc.isAnnotationTypeElement()) {
            return doc.name();
        } else { // it's a class or interface
            String classOrIntName = doc.name();
            //Strip off the containing class name because we only want the member name.
            classOrIntName = classOrIntName.indexOf('.') != 0 ? classOrIntName.substring(classOrIntName.lastIndexOf('.'), classOrIntName.length()) : classOrIntName;
            return "clint" + classOrIntName;
        }
    }
private Object getMemberKey ( ProgramElementDoc doc ) { if ( doc . isConstructor ( ) ) { return doc . name ( ) + ( ( ExecutableMemberDoc ) doc ) . signature ( ) ; } else if ( doc . isMethod ( ) ) { return getClassMember ( ( MethodDoc ) doc ) ; } else if ( doc . isField ( ) || doc . isEnumConstant ( ) || doc . isAnnotationTypeElement ( ) ) { return doc . name ( ) ; } else { String classOrIntName = doc . name ( ) ; classOrIntName = classOrIntName . indexOf ( '.' ) != 0 ? classOrIntName . substring ( classOrIntName . lastIndexOf ( '.' ) , classOrIntName . length ( ) ) : classOrIntName ; return "clint" + classOrIntName ; } }
Return the key to the member map for the given member.