org.eclipse.emf.codegen.merge.java.facade.ast
Class ASTJImport

java.lang.Object
  extended byorg.eclipse.emf.codegen.merge.java.facade.AbstractJNode
      extended byorg.eclipse.emf.codegen.merge.java.facade.ast.ASTJNode
          extended byorg.eclipse.emf.codegen.merge.java.facade.ast.ASTJImport
All Implemented Interfaces:
JImport, JNode

public class ASTJImport
extends ASTJNode
implements JImport

Since:
2.2.0

Field Summary
 
Fields inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
EMPTY_STRING_ARRAY, facadeHelper, qualifiedName, wrappedObject
 
Constructor Summary
ASTJImport(org.eclipse.jdt.core.dom.ImportDeclaration importDeclaration)
           
 
Method Summary
protected  org.eclipse.jdt.core.dom.ImportDeclaration getASTImportDeclaration()
           
 int getFlags()
          Returns the modifier flags for this node.
 String getName()
          Returns the name of this node.
 boolean isOnDemand()
          Returns whether this import declaration ends with ".
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.ast.ASTJNode
getASTNode, getChildren, getContents, getContents, getParent, setFlags, toString
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
computeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, dispose, getFacadeHelper, getName, getQualifiedName, getWrappedObject, setFacadeHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode
getChildren, getContents, getParent, getQualifiedName, setFlags
 

Constructor Detail

ASTJImport

public ASTJImport(org.eclipse.jdt.core.dom.ImportDeclaration importDeclaration)
Method Detail

getASTImportDeclaration

protected org.eclipse.jdt.core.dom.ImportDeclaration getASTImportDeclaration()

isOnDemand

public boolean isOnDemand()
Description copied from interface: JImport
Returns whether this import declaration ends with ".*".

Specified by:
isOnDemand in interface JImport
Returns:
true if this in an on-demand import

getName

public String getName()
Description copied from interface: JNode
Returns the name of this node.

Specified by:
getName in interface JNode
Returns:
the name, or null if it has no name

getFlags

public int getFlags()
Description copied from interface: JNode
Returns the modifier flags for this node. The flags can be examined using class FacadeFlags.

Specified by:
getFlags in interface JNode
Overrides:
getFlags in class ASTJNode

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.