reflection SQE test

Joe Darcy joe.darcy at
Tue Feb 26 00:02:59 PST 2013

On 2/25/2013 11:50 PM, jun wang wrote:
> Thanks. But the real question is there is no doc for what the returned 
> byte[] stands for. What is returned?
> Here's an example in
> public byte[] getRawClassTypeAnnotations(Class<?> klass)
> public byte[] getRawExecutableTypeAnnotations(Executable executable)

These methods are *not* part of the public API. They do not show up in 
the javadoc for java.lang.System. They are public methods are a 
*non-public* class.

These are not the methods you are looking to test.


> Regards,
> Charlie
> On 2013/2/8 2:54, Joel Borggrén-Franck wrote:
>> Hi Charlie,
>> There are some methods that are not public, for example the one you 
>> mention. You don't need to write a test for those as they aren't part 
>> of the API.
>> cheers
>> /Joel
>> On Feb 5, 2013, at 2:32 AM, Charlie Wang < at> 
>> wrote:
>>> Hi,
>>>   Sorry for the mass mail. I've created some SQE functional tests 
>>> for type annotation reflection? I wonder where I should publish 
>>> them. And I was unable to find descriptions for some new APIs with 
>>> return type - byte[] (e.g. 
>>> Class.getExecutableTypeAnnotationBytes(Executable ex)). Could 
>>> someone kindly direct me to where I can get them? Greatly appreciate 
>>> your help.
>>> Regards,
>>> Charlie

More information about the type-annotations-dev mailing list