Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.util.jam
Interface JImport

All Superinterfaces:
JElement

public interface JImport
extends JElement

Represents an imported item on a Java class.


Method Summary
 String getQualifiedName()
          Returns a qualified name for this import
 boolean isStarEnd()
          Returns true if this import is ended with * (e.g.
 boolean isStaticImport()
          Returns true if this import is static import declartion (namely, import static ...).
 
Methods inherited from interface com.bea.util.jam.JElement
accept, getArtifact, getParent, getSimpleName, getSourcePosition, isSourceAvailable, toString
 

Method Detail

isStaticImport

boolean isStaticImport()
Returns true if this import is static import declartion (namely, import static ...).


isStarEnd

boolean isStarEnd()
Returns true if this import is ended with * (e.g. java.util.*).


getQualifiedName

String getQualifiedName()

Returns a qualified name for this import

Returns a string describing this import. The format is followed by the fully-qualified name of the imported class declaring. Note that the qualified name does not include the word 'import' For example:

java.util.Date

java.util.*

Specified by:
getQualifiedName in interface JElement

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02