Skip navigation links

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

E17493-03


oracle.javatools.parser.java.v2.util
Class QualifyTypeHelper

java.lang.Object
  extended by oracle.javatools.parser.java.v2.util.QualifyTypeHelper


public class QualifyTypeHelper
extends java.lang.Object

The goal of a SimplifyTypeHelper is to take an input type name, its SourceElement scope, and answer two questions.

   1. Should an import be added?
   2. Should the type's prefix be dropped?
 

Method Summary
static void qualifyAllTypes(SourceElement subtree)
          Recursively traverses the given subtree and attempts to qualify any type it finds.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

qualifyAllTypes

public static void qualifyAllTypes(SourceElement subtree)
Recursively traverses the given subtree and attempts to qualify any type it finds. If a type in the subtree may be qualified, this will attempt to qualify it. If a write operation is not permitted, an exception is thrown.

Skip navigation links

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

E17493-03


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