anvil.script.compiler
Class MethodBase

java.lang.Object
  |
  +--anvil.script.compiler.Compiled
        |
        +--anvil.script.compiler.FunctionBase
              |
              +--anvil.script.compiler.MethodBase
All Implemented Interfaces:
ClassMember, CompilableFunction, Function, MethodType, Type
Direct Known Subclasses:
ConstructorBase, NativeMethod

public class MethodBase
extends FunctionBase
implements MethodType

class MethodBase


Field Summary
 
Fields inherited from class anvil.script.compiler.FunctionBase
_define, _dispatcher, _functionname, _generatordispatcher, _isinner, _method, _parameters, _signature
 
Fields inherited from class anvil.script.compiler.Compiled
_document, _name, _parent, _parents, _private, _qname
 
Fields inherited from interface anvil.script.CompilableFunction
CLASSES, PARAMETER_ANY, PARAMETER_ANYLIST, PARAMETER_ARRAY, PARAMETER_BOOLEAN, PARAMETER_CONTEXT, PARAMETER_DOUBLE, PARAMETER_INT, PARAMETER_LIST, PARAMETER_LONG, PARAMETER_OBJECT, PARAMETER_REST, PARAMETER_STRING, SIGNATURES
 
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
MethodBase(Scope parent, java.lang.reflect.Method method, java.lang.String name, java.lang.Object[] parameters, Doc document, boolean privat)
           
 
Method Summary
 ClassType getClassType()
           
 int getType()
           
 
Methods inherited from class anvil.script.compiler.FunctionBase
execute, execute, execute, execute, execute, execute, execute, getAttribute, getDispatcher, getGeneratorDispatcher, getMinimumParameterCount, getParameterCount, getParameterDefault, getParameterDoc, getParameterName, getParameterType, getTypeRef, isInnerFunction, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface anvil.script.CompilableFunction
getAttribute, getDispatcher, getMinimumParameterCount, getParameterCount, getParameterDefault, getParameterDoc, getParameterName, getParameterType, isInnerFunction
 
Methods inherited from interface anvil.script.Function
execute, execute, execute, execute, execute, execute, execute
 
Methods inherited from interface anvil.script.Type
getDocument, getName, getParent, getParents, getQualifiedName, getTypeRef, isPrivate
 

Constructor Detail

MethodBase

public MethodBase(Scope parent,
                  java.lang.reflect.Method method,
                  java.lang.String name,
                  java.lang.Object[] parameters,
                  Doc document,
                  boolean privat)
Method Detail

getType

public int getType()
Specified by:
getType in interface Type
Overrides:
getType in class FunctionBase

getClassType

public ClassType getClassType()
Specified by:
getClassType in interface ClassMember