*
* @throws NotQueryableException - If accessor method has been marked as not queryable
*/
public static void throwIfNotQueryable( final AccessibleObject accessor )
{
Queryable queryable = accessor.getAnnotation( Queryable.class );
if( queryable != null && !queryable.value() )
{
throw new NotQueryableException(
String.format(
"%1$s \"%2$s\" (%3$s) is not queryable as has been marked with @Queryable(false)",
Classes.RAW_CLASS.map( GenericPropertyInfo.propertyTypeOf( accessor ) ).getSimpleName(),