Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.util.jam
Interface JImport

All Superinterfaces:
JElement

public interface JImport
extends JElement

Represents an imported item on a Java class.


Method Summary
abstract  String getQualifiedName()
          Returns a qualified name for this import
abstract  boolean isStarEnd()
          Returns true if this import is ended with * (e.g.
abstract  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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09