public abstract class PlSqlUtilCore
extends java.lang.Object
| Constructor and Description | 
|---|
| PlSqlUtilCore() | 
| Modifier and Type | Method and Description | 
|---|---|
| static PlSqlParser | findOrCreateParser(PlSqlSourceObject pso,
                  DBObjectProvider pro)Find or create a  PlSqlParserfor the source held on thePlSqlSourceObject. | 
| protected abstract PlSqlParser | findOrCreateParserImpl(PlSqlSourceObject pso,
                      DBObjectProvider pro)Implementation of  #getParser | 
| static PlSqlSubProgram | findPlSqlSubProgram(java.lang.String callSignature,
                   PlSqlBlock block)Finds the PlSqlSubProgram of the given signature in the given PlSqlBlock. | 
| protected abstract PlSqlSubProgram | findPlSqlSubProgramImpl(java.lang.String callSignature,
                       PlSqlBlock block) | 
| static java.lang.String | getNameFromSource(java.lang.String source)Extracts the name of the PL/SQL Object represented by the given source | 
| protected abstract java.lang.String | getNameFromSourceImpl(java.lang.String source)Implementation of  getNameFromSource(java.lang.String) | 
| static java.util.List<DBObject> | getPlSqlFragmentReferers(PlSqlSourceObject so,
                        DBObjectID to) | 
| static java.util.List<DBObject> | getPlSqlFragmentReferers(PlSqlSourceObject so,
                        DBObjectID to,
                        DBObjectProvider pro)Return a List of DBObjects within the PlSqlSourceObject which "may" reference the given DBObjectID. | 
| protected abstract java.util.List<DBObject> | getPlSqlFragmentReferersImpl(PlSqlSourceObject so,
                            DBObjectID to,
                            DBObjectProvider pro) | 
| static java.lang.String | getTypeFromSource(java.lang.String source)Extracts the type of the PL/SQL Object represented by the given source | 
| protected abstract java.lang.String | getTypeFromSourceImpl(java.lang.String source)Implementation of  getTypeFromSource(java.lang.String) | 
| protected static void | setInstance(PlSqlUtilCore instance)Allow implementation class to be registered | 
protected abstract PlSqlSubProgram findPlSqlSubProgramImpl(java.lang.String callSignature, PlSqlBlock block)
protected abstract java.util.List<DBObject> getPlSqlFragmentReferersImpl(PlSqlSourceObject so, DBObjectID to, DBObjectProvider pro) throws CancelledException
getPlSqlFragmentReferers(oracle.javatools.db.plsql.PlSqlSourceObject, oracle.javatools.db.DBObjectID)CancelledExceptionprotected abstract java.lang.String getTypeFromSourceImpl(java.lang.String source)
getTypeFromSource(java.lang.String)protected abstract java.lang.String getNameFromSourceImpl(java.lang.String source)
getNameFromSource(java.lang.String)protected abstract PlSqlParser findOrCreateParserImpl(PlSqlSourceObject pso, DBObjectProvider pro) throws CancelledException
#getParserCancelledExceptionprotected static void setInstance(PlSqlUtilCore instance)
public static PlSqlSubProgram findPlSqlSubProgram(java.lang.String callSignature, PlSqlBlock block)
callSignature - The signature of the PlSqlSubProgram.block - The PlSqlBlock in which to search.@Deprecated public static java.util.List<DBObject> getPlSqlFragmentReferers(PlSqlSourceObject so, DBObjectID to)
public static java.util.List<DBObject> getPlSqlFragmentReferers(PlSqlSourceObject so, DBObjectID to, DBObjectProvider pro) throws CancelledException
so - The parent PlSqlSourceObjectto - The id of the object to which references are being soughtpro - The DBObjectProviderCancelledExceptionpublic static java.lang.String getTypeFromSource(java.lang.String source)
source - source of the PlSql objectpublic static java.lang.String getNameFromSource(java.lang.String source)
source - source of the PlSql objectpublic static PlSqlParser findOrCreateParser(PlSqlSourceObject pso, DBObjectProvider pro) throws CancelledException
PlSqlParser for the source held on the PlSqlSourceObject.
 If it exists, this will be a parser instance cached aganist the DerivedPropertyBuilder
 for the PlSqlSourceObject, otherwise a new PlSqlParser will be created
 using the PlSqlParserFactory.pso - The PlSqlSourceObject for which a PlSqlParser is requiredpro - The DBObjectProviderPlSqlSourceObject.
 Can be null under some circumstances if the source is being changed by
 another thread.CancelledException