Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1352

Reflection is the ability of a computer program to examine, introspect, and modify its own structure and behavior at runtime.

29 votes

What do IDEs use to do code completion suggestions?

As a very high-level overview, the IDE contains a compiler. (Well, most parts of a compiler: it doesn't need to generate code or optimize, but all the rest is there, lexing, parsing, semantic analysis …
Jörg W Mittag's user avatar
3 votes

Is Reflection a disadvantage as private variables cannot be restricted?

What reflection are you talking about? In many reflection systems, circumventing encapsulation is an explicit capability that your code needs to obtain, and doesn't have by default. … If you are concerned about encapsulation, the simple solution is to just not use a reflection system that doesn't preserve it. …
Jörg W Mittag's user avatar