I'm using Apex-lang to build queries. http://code.google.com/p/apex-lang/
problem: A custom lookup field won't show up in the generated query.
If I duplicate the SoqlBuilder class and use the new class, the custom field will show up.
Could there be some FLS on class level that I'm missing? I tried this using Anonymous Apex.