Frankie
Frankie

Reputation: 73

What does compiled method in java mean

Please, I often find java methods that are empty with a comment compiled code

Here is an example

public E get(int index) { /* compiled code */ }

I can not find the meaning!! thank you for your clarification

Upvotes: 4

Views: 185

Answers (1)

BackSlash
BackSlash

Reputation: 22233

This often happens when you are using an external library.

It means that your IDE doesn't hold the source code for that library. So he knows the method's name and signature, but not its code

Upvotes: 10

Related Questions