anvil.script.compiler
Class CompiledInterfaceType
java.lang.Object
|
+--anvil.script.compiler.Compiled
|
+--anvil.script.compiler.CompiledScope
|
+--anvil.script.compiler.CompiledInterfaceType
- All Implemented Interfaces:
- InterfaceType, Scope, Type
- public class CompiledInterfaceType
- extends CompiledScope
- implements InterfaceType
class CompiledInterfaceType
| 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 |
CompiledInterfaceType(java.lang.ClassLoader classloader,
Scope parent,
java.lang.Class cls,
java.lang.String name,
Doc document,
boolean privat)
|
| Methods inherited from class anvil.script.compiler.CompiledScope |
buildQualifiedName, declare, declare, getDeclarations, getDescriptor, getModule, getTypeRef, initializeMembers, onClass, onConstantVariable, onConstructor, onFunction, onInterface, onInterfaceMethod, onMemberVariable, onMethod, onNamespace, onScript, onStaticVariable |
| Methods inherited from class anvil.script.compiler.Compiled |
findClass, findInterface, findMethod, findNamespace, getDocument, getfield, getName, getParent, getParents, getQualifiedName, getstatic, getstatic, isPrivate, putfield, putstatic, putstatic, toString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_bases
protected InterfaceRef[] _bases
CompiledInterfaceType
public CompiledInterfaceType(java.lang.ClassLoader classloader,
Scope parent,
java.lang.Class cls,
java.lang.String name,
Doc document,
boolean privat)
getType
public int getType()
- Specified by:
getType in interface Type- Specified by:
getType in class Compiled
getBases
public InterfaceRef[] getBases()
- Specified by:
getBases in interface InterfaceType
lookupDeclaration
public Type lookupDeclaration(java.lang.String name)
- Specified by:
lookupDeclaration in interface Scope- Overrides:
lookupDeclaration in class CompiledScope
lookupInheritedDeclaration
public Type lookupInheritedDeclaration(java.lang.String name)
- Specified by:
lookupInheritedDeclaration in interface InterfaceType