-
Notifications
You must be signed in to change notification settings - Fork 0
Lucene index fields
Amy Brennan-Luna edited this page Nov 8, 2020
·
4 revisions
- Class - name of class
- Method - name of method
- Element - name of element (such as method name, field name)
- How should I represent method invocations?
- Type
- Class
- Method
- Field
- Parameter
- Local variable
- Method invocations
- Parameters
- Local variables
- Scope (such as if within a specific "if" or "for" block
- Effectively final? (useful for Streams; there's a field)
- "Constant" (JDT has way to get value)
- Assignments (include each)
- Initialization
- Later assignments
- In the future, want to also indicate when a method is
- Read (dereferenced with no side effects)
- For example, list.get
- Dereferenced (if cannot determine if read / write)
- Write (dereferenced with side effects)
- For example, list.add / list.set
- Assign (an assignment)
- Read (dereferenced with no side effects)