FeaturesPluginsDocs & SupportCommunityPartners

org.netbeans.modules.jackpot/2 2 1

Package org.netbeans.api.jackpot

This package defines the API used by queries and transformers when executed by the Jackpot module.

See:
          Description

Interface Summary
Query A Query is applied to a a set of source files (defined by a JavaSource instance) and reports any matching results.
QueryContext A QueryContext is the environment that a Query is executed in, which provides methods for communicating with the user through query results, status bar and log messages, and errors.
Transformer A Transformer is applied to a a set of source files (defined by a JavaSource instance) to transform query matches into new source code.
 

Class Summary
ConversionOperations Utility methods for creating and simplifying trees using techniques such as constant-folding and dead-code analysis.
QueryOperations Utility methods for common query tasks.
TreeMatcher Determines whether two trees deeply match each other, using a fast-fail algorithm.
TreePathQuery<R,P> An abstract Query which extends TreePathScanner to visit the project's AST nodes using the visitor pattern.
TreePathTransformer<R,P> An abstract Transformer which extends TreePathScanner to visit the project's AST nodes using the visitor pattern.
 

Exception Summary
QueryException Returns an Exception or Error thrown during Query or Transformer execution.
 

Package org.netbeans.api.jackpot Description

This package defines the API used by queries and transformers when executed by the Jackpot module. A query is an action which scans one or more projects' Java source files, usually scanning its abstract syntax trees (ASTs), and returns a list of matched source references. A transformer extends this to propose modifications to the source files.


org.netbeans.modules.jackpot/2 2 1

Built on April 6 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by