function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Liudmila LikhovidLiudmila Likhovid 

Tooling API SymbolTable contains “private” visibility modifiers instead of “protected”

When I query SymbolTable using Tooling API there are not any protected modifiers at all! Everyprotected word is replaced with private. The field classBody shows all protected keywords as they are but SymbolTable doesn't show any of them.

What is the reason for that? Is that a bug or it has some sense?
Best Answer chosen by Liudmila Likhovid
ShashankShashank (Salesforce Developers) 
I checked with R&D regarding this, and they are releasing an enhancement to allow all modifiers in the next version of the API, which is 34 (Summer '15).

All Answers

KevinPKevinP
Thats curious. 

I wonder if this is some kind of bug? Have you taken this to SF Support?
Daniel BallingerDaniel Ballinger

There is a corresponding Question on the Salesforce StackExchange - Tooling API SymbolTable contains “private” visibility modifiers instead of “protected” (http://salesforce.stackexchange.com/q/58525/102).

I was hoping that Salesforce Support would pickup the issue here.

ShashankShashank (Salesforce Developers) 
I will check on this internally and get back.
ShashankShashank (Salesforce Developers) 
I checked with R&D regarding this, and they are releasing an enhancement to allow all modifiers in the next version of the API, which is 34 (Summer '15).
This was selected as the best answer