Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.refactoring.dependency
Class DeclarationSearchCriteria

java.lang.Object
  extended by oracle.jdeveloper.refactoring.model.AbstractSearchCriteria
      extended by oracle.jdeveloper.refactoring.dependency.DeclarationSearchCriteria
All Implemented Interfaces:
oracle.ide.refactoring.SearchCriteria, oracle.jdeveloper.refactoring.model.OperationSearchCriteria

public class DeclarationSearchCriteria
extends oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

Refactoring criteria to search for references to one or more declarations.


Field Summary
 
Fields inherited from interface oracle.jdeveloper.refactoring.model.SearchCriteria
TYPE_CHANGE_METHOD, TYPE_ENCAPSULATE_FIELDS, TYPE_EXTRACT_CLASS, TYPE_EXTRACT_INTERFACE, TYPE_EXTRACT_SUPERCLASS, TYPE_INTRODUCE_PO, TYPE_MOVE_CLASSES, TYPE_MOVE_FILES, TYPE_PUSH_DOWN, TYPE_REFACTORING_FLAG, TYPE_RENAME_FIELD, TYPE_RENAME_METHOD, TYPE_RENAME_VARIABLE, TYPE_REPLACE_TEXT, TYPE_SAFEDELETE_CLASS, TYPE_SAFEDELETE_FIELD, TYPE_SAFEDELETE_FILE, TYPE_SAFEDELETE_METHOD, TYPE_SAFEDELETE_VARIABLE, TYPE_SEARCH_ANNOTATION, TYPE_SEARCH_CLASS, TYPE_SEARCH_CONSTRUCTOR, TYPE_SEARCH_FIELD, TYPE_SEARCH_FILES, TYPE_SEARCH_METHOD, TYPE_SEARCH_PACKAGE, TYPE_SEARCH_VARIABLE, TYPE_USE_SUPERTYPE
 
Fields inherited from interface oracle.ide.refactoring.SearchCriteria
TYPE_FLAG_DELETE_FILES, TYPE_FLAG_RENAME_FILES
 
Constructor Summary
DeclarationSearchCriteria(java.lang.String title, Declaration... declarations)
           
 
Method Summary
 java.util.Collection<Declaration> getDeclarations()
          Get the declarations to search for.
 java.lang.String getOperationName()
           
 int getSearchType()
           
 java.lang.String getShortTitle()
           
 
Methods inherited from class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria
getLongTitle, getScope, isValid, verifySearchResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclarationSearchCriteria

public DeclarationSearchCriteria(java.lang.String title,
                                 Declaration... declarations)
Method Detail

getDeclarations

public java.util.Collection<Declaration> getDeclarations()
Get the declarations to search for.

Returns:
the declarations

getSearchType

public int getSearchType()
Specified by:
getSearchType in interface oracle.ide.refactoring.SearchCriteria
Specified by:
getSearchType in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

getOperationName

public java.lang.String getOperationName()

getShortTitle

public java.lang.String getShortTitle()
Specified by:
getShortTitle in interface oracle.ide.refactoring.SearchCriteria
Specified by:
getShortTitle in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.