A bicycloheteroaryl compound having a formula: wherein B and Y are independently selected from CR 2a and CR 2a R 2b; W, and Z are selected from CH; W' is CR 4; L 1 is substituted or unsubstituted C 1 -C 5 alkylene; n is 1 or 2; R 1 is selected from a substituted or unsubstituted aryl or substituted or unsubstituted heteroaryl ring; each of R 2a, R 2b, R 2' and R 2" is independently selected from hydrogen, halo, and substituted or unsubstituted C 1 -C 6 alkyl; or any of R 2' and R 2" join together to form a cycloalkyl or cycloheteroalkyl ring of 3-7 atoms; R 3 is hydrogen or a functional group selected from alkyl, dialkylamino, acyloxy, alkoxy, and -SO 2 -alkyl; or the group -L 1 -R 3 is selected from R 4 is independently selected from H, alkyl, substituted alkyl, acyl, substituted acyl, substituted or unsubstituted acylamino, substituted or unsubstituted alkylamino, substituted or unsubstituted alkylthio, substituted or unsubstituted alkoxy, alkoxycarbonyl, substituted alkoxycarbonyl, substituted or unsubstituted alkylarylamino, arylalkyloxy, substituted arylalkyloxy, amino, aryl, substituted aryl, arylalkyl, substituted or unsubstituted sulfoxide, substituted or unsubstituted sulfone, substituted or unsubstituted sulfanyl, substituted or unsubstituted aminosulfonyl, substituted or unsubstituted arylsulfonyl, sulfuric acid, sulfuric acid ester, substituted or unsubstituted dihydroxyphosphoryl, substituted or unsubstituted aminodihydroxyphosphoryl, azido, carboxy, substituted or unsubstituted carbamoyl, cyano, substituted or unsubstituted cycloalkyl, substituted or unsubstituted cycloheteroalkyl, substituted or unsubstituted dialkylamino, halo, heteroaryloxy, substituted or unsubstituted heteroaryl, substituted or unsubstituted heteroalkyl, hydroxy, nitro, and thio; and the dotted bond is a single or a double bond; or a pharmaceutically acceptable salt or solvate thereof; and stereoisomers, isotopic variants and tautomers thereof. B and Y are independently selected from CR 2a and CR 2a R 2b; W, and Z are selected from CH; W' is CR 4; L 1 is substituted or unsubstituted C 1 -C 5 alkylene; n is 1 or 2; R 1 is selected from a substituted or unsubstituted aryl or substituted or unsubstituted heteroaryl ring; each of R 2a, R 2b, R 2' and R 2" is independently selected from hydrogen, halo, and substituted or unsubstituted C 1 -C 6 alkyl; or any of R 2' and R 2" join together to form a cycloalkyl or cycloheteroalkyl ring of 3-7 atoms; R 3 is hydrogen or a functional group selected from alkyl, dialkylamino, acyloxy, alkoxy, and -SO 2 -alkyl; or the group -L 1 -R 3 is selected from R 4 is independently selected from H, alkyl, substituted alkyl, acyl, substituted acyl, substituted or unsubstituted acylamino, substituted or unsubstituted alkylamino, substituted or unsubstituted alkylthio, substituted or unsubstituted alkoxy, alkoxycarbonyl, substituted alkoxycarbonyl, substituted or unsubstituted alkylarylamino, arylalkyloxy, substituted arylalkyloxy, amino, aryl, substituted aryl, arylalkyl, substituted or unsubstituted sulfoxide, substituted or unsubstituted sulfone, substituted or unsubstituted sulfanyl, substituted or unsubstituted aminosulfonyl, substituted or unsubstituted arylsulfonyl, sulfuric acid, sulfuric acid ester, substituted or unsubstituted dihydroxyphosphoryl, substituted or unsubstituted aminodihydroxyphosphoryl, azido, carboxy, substituted or unsubstituted carbamoyl, cyano, substituted or unsubstituted cycloalkyl, substituted or unsubstituted cycloheteroalkyl, substituted or unsubstituted dialkylamino, halo, heteroaryloxy, substituted or unsubstituted heteroaryl, substituted or unsubstituted heteroalkyl, hydroxy, nitro, and thio; and the dotted bond is a single or a double bond; or a pharmaceutically acceptable salt or solvate thereof; and stereoisomers, isotopic variants and tautomers thereof.