anvil.script
Class Imported

java.lang.Object
  |
  +--anvil.script.Imported
All Implemented Interfaces:
Type

public class Imported
extends java.lang.Object
implements Type

class Imported


Field Summary
protected  java.lang.String _name
           
protected  Module _script
           
protected  Type _type
           
 
Fields inherited from interface anvil.script.Type
CLASS, CONSTANT_VARIABLE, CONSTRUCTOR, FUNCTION, FUNCTION_PARAMETER, GLOBAL_NAMESPACE, IMPORT, INTERFACE, INTERFACE_METHOD, LOCAL_VARIABLE, MEMBER_VARIABLE, METHOD, MODULE, NAMESPACE, SCOPE0, STATIC_VARIABLE, SYSTEM_NAMESPACE, TYPE_NAMES
 
Constructor Summary
Imported(Module script, java.lang.String name, Type type)
           
 
Method Summary
 Doc getDocument()
           
 Module getModule()
           
 java.lang.String getName()
           
 Scope getParent()
           
 Scope[] getParents()
           
 Type getPointedType()
           
 java.lang.String getQualifiedName()
           
 int getType()
           
 int getTypeRef(ConstantPool pool)
           
 boolean isPrivate()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_script

protected Module _script

_name

protected java.lang.String _name

_type

protected Type _type
Constructor Detail

Imported

public Imported(Module script,
                java.lang.String name,
                Type type)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getPointedType

public Type getPointedType()

getName

public java.lang.String getName()
Specified by:
getName in interface Type

isPrivate

public boolean isPrivate()
Specified by:
isPrivate in interface Type

getQualifiedName

public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface Type

getType

public int getType()
Specified by:
getType in interface Type

getParent

public Scope getParent()
Specified by:
getParent in interface Type

getParents

public Scope[] getParents()
Specified by:
getParents in interface Type

getDocument

public Doc getDocument()
Specified by:
getDocument in interface Type

getTypeRef

public int getTypeRef(ConstantPool pool)
Specified by:
getTypeRef in interface Type

getModule

public Module getModule()