anvil.script
Interface ClassType

All Superinterfaces:
Scope, Type
All Known Implementing Classes:
ClassStatement, CompiledClassType, NativeClass, Reflection

public interface ClassType
extends Scope

interface ClassType


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
 
Method Summary
 ClassRef getBase()
           
 ClassType getBaseClass()
           
 ConstructorType getConstructor()
           
 int getConstructorReference(ConstantPool pool)
           
 java.lang.String getDescriptor()
           
 ClassDispatcher getDispatcher(Context context)
           
 ClassType[] getEnclosingClasses()
           
 InterfaceRef[] getInterfaces()
           
 java.lang.String getPathinfo()
           
 java.lang.String getQualifiedName()
           
 boolean isInstanceOf(Type ofType)
           
 Type lookupInheritedDeclaration(java.lang.String name)
           
 Any newInstance()
           
 
Methods inherited from interface anvil.script.Scope
getDeclarations, lookupDeclaration
 
Methods inherited from interface anvil.script.Type
getDocument, getName, getParent, getParents, getType, getTypeRef, isPrivate
 

Method Detail

getQualifiedName

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

getPathinfo

public java.lang.String getPathinfo()

isInstanceOf

public boolean isInstanceOf(Type ofType)

getBase

public ClassRef getBase()

getBaseClass

public ClassType getBaseClass()

lookupInheritedDeclaration

public Type lookupInheritedDeclaration(java.lang.String name)

getInterfaces

public InterfaceRef[] getInterfaces()

getConstructor

public ConstructorType getConstructor()

getConstructorReference

public int getConstructorReference(ConstantPool pool)

getDescriptor

public java.lang.String getDescriptor()

getEnclosingClasses

public ClassType[] getEnclosingClasses()

newInstance

public Any newInstance()

getDispatcher

public ClassDispatcher getDispatcher(Context context)