anvil.core
Class Modules.SyntheticNamespace

java.lang.Object
  |
  +--anvil.core.Modules.SyntheticNamespace
All Implemented Interfaces:
IncrementalScope, NativeJava, Scope, Synthetic, Type
Enclosing class:
Modules

protected static class Modules.SyntheticNamespace
extends java.lang.Object
implements IncrementalScope, NativeJava, Synthetic


Field Summary
 
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
protected Modules.SyntheticNamespace(Scope parent, java.lang.String name)
           
 
Method Summary
 void addDeclaration(Type type)
           
 java.util.Iterator getDeclarations()
           
 Doc getDocument()
           
 java.lang.String getName()
           
 Scope getParent()
           
 Scope[] getParents()
           
 java.lang.String getQualifiedName()
           
 int getType()
           
 int getTypeRef(ConstantPool pool)
           
 boolean isPrivate()
           
 Type lookupDeclaration(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Modules.SyntheticNamespace

protected Modules.SyntheticNamespace(Scope parent,
                                     java.lang.String name)
Method Detail

toString

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

addDeclaration

public void addDeclaration(Type type)
Specified by:
addDeclaration in interface IncrementalScope

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

getDeclarations

public java.util.Iterator getDeclarations()
Specified by:
getDeclarations in interface Scope

lookupDeclaration

public Type lookupDeclaration(java.lang.String name)
Specified by:
lookupDeclaration in interface Scope