a query-based code browser
 
Home
Download
Papers
Screen Shots
Contact
 

Appendix 1: Built-in Queries

< ^ >

This appendix contains a list of the built-in queries in JQuery and what each of the queries does. In the case of sub-queries the applicable types of elements for the queries are given.

Top Level Queries

Query Name Description
Abstract Classes Retrieves the abstract classes and their type hierarchies.
Abstract Method Browser Retrieves the abstract classes and their abstract methods.
Class Creation Retrieves all of the creation sites for all classes.
Instanceof Testing Retrieves all of the "instanceof" tests for all classes.
Interface Implementation Retrieves all of the interfaces and the classes that implement them
Java Structure Browser Retrieves a tree structure for the code (i.e package > compilation unit > class/interface > methods/fields)
Method Browser Retrieves all of the methods and the types that contain them
Package Browser Retrieves a view similar to the Eclipse package browser. The tree structure is package > class/interface
VSF Members Retrieves all of the "Virtual Source Files"
Compiler Warnings Retrieves all of the compiler warnings along with the element that they are contained in.
Compiler Errors Retrieves all of the compiler errors along with the element that they are contained in.
Bookmarks Retrieves all of the bookmarks.
Tasks Retrieves all of the tasks orgainzed by priority, along with the element that they are contained in.

Context-sensitive subqueries

Query Name Applicable To Description
Members > Constructors class Retrieves all of the constructors of the selected class.
Members > Methods class, interface Retrieves all of the methods of the selected type.
Members > Methods... class, interface Retrieves a specific method for the selected type.
Members > Fields class, interface Retrieves all of the fields of the selected type.
Members > Initializers class, interface Retrives all of the initializers for the selected type.
Signature > Throws method, constructor Retrieves all of the exceptions that are thrown by the specified callable.
Signature > Returns method Retrieves the return type of the specified method.
Signature > Arguments method, constructor Retrieves the arguments of the given callable.
Signature > Modifiers method, constructor Retrieves the modifiers for the given callable.
Signature > Signature method, constructor Retrives the signature for the given callable.
Signature > Methods Like This method Retrieves methods with the same signature as the specified method.
Calls > Outgoing Calls method, constructor, initializer Retrieves all the outgoing calls from a given block.
Calls > Outgoing Calls... method, constructor, initializer Retrieves the outgoing calls to a specific callable from a given block.
Calls > Incoming Calls method, constructor Retrieves all of the incoming calls to the specified callable.
Calls > Incoming Calls... method, constructor Retrieves the incoming calls from a specific block to the specified callable.
Calls > Creates method, constructor, initializer Retrieves any types that are created by the specified block.
Inheritance > Subclasses class Retrieves the subclasses of the specified class.
Inheritance > Superclass class Retrieves the superclass of the specified class.
Inheritance > Subtypes+ class, interface Retrieves all of the types have the specified type as an ancestor.
Inheritance > Supertypes+ class, interface Retrieves all of the ancestors of the specified type.
Inheritance > Implemented Interfaces class Retrieves the interfaces implemented by the specified class.
Inheritance > Implemented by interface Retrieves the classes that implement the specified interface.
Inheritance > Subinterfaces interface Retrieves the interfaces that extend the specified interface
Inheritance > Super-Interfaces interface Retrives the interfaces that are extended by the specified interface.
Inheritance > Inherited Fields class, interface Retrieves the fields inherited by the specified type.
Inheritance > Inherited Methods class, interface Retrieves the methods inherited by the specified type.
Inheritance > Hierarchy class, interface Retrieves the type hierarchy of the specified type.
Inheritance > Inverted Hierarchy class, interface Retrieves the inverted type hierarchy of the specified type.
Inheritance > Method Hierarchy method Retrieves the hierarchy of the specified method.
Inheritance > Overridden by method Retrieves the methods that override the specified method.
Inheritance > Override method Retrieves the method that the specified method overrides.
Inheritance > Inherited by method Retrieves the types that inherit the specified method
Java Structure > Contained In anything Retrieves the java element that the specified element is contained in.
Java Structure > Contains anything Retrieves the java elements that are contained in the specified element.
Java Structure > My Structure anything Retrieves a tree structure of the child-relationships below the specified element.
Top-level Types package Retrieves the types in the specified package.
Top-level Types... package Retrieves a specific type from the specified package.
Top-level Classes package Retrieves the classes in the specified package.
Top-level Interfaces package Retrieves the interfaces in the specified package.
Creates class Retrieves all of the creators of the specified class.
Type of field field Retrieves the type of the specified field.
Field Accesses > Reads/Writes Fields method, constructor Retrieves the fields read/written by the specified block.
Field Accesses > Writes Fields method, constructor Retrieves the fields written to by the specified block.
Field Accesses > Reads Fields method, constructor Retrieves the fields read by the specified block.
Read/Written by field Retrieves the blocks that read/write the specified field.
Written by field Retrieves the blocks that write to the specified field.
Read by field Retrieves the blocks that read the specified field.
Markers > Compiler Warnings anything Retrieves the compiler warnings contained in the specified element
Markers > Compiler Errors anything Retrieves the compiler errors contained in the specified element
Markers > Bookmarks anything Retrieves the bookmarks contained in the specified element
Markers > Tasks anything Retrieves the tasks contained in the specified element

 

< ^ >