org.python.core
Class ReflectedArgs

java.lang.Object
  extended by org.python.core.ReflectedArgs

public class ReflectedArgs
extends Object


Field Summary
 Class<?>[] args
           
 Object data
           
 Class<?> declaringClass
           
 int flags
           
 boolean isStatic
           
static int PyArgsCall
           
static int PyArgsKeywordsCall
           
static int REPLACE
           
static int StandardCall
           
 
Constructor Summary
ReflectedArgs(Object data, Class<?>[] args, Class<?> declaringClass, boolean isStatic)
           
 
Method Summary
static int compare(Class<?> arg1, Class<?> arg2)
           
 int compareTo(ReflectedArgs other)
           
 boolean matches(PyObject self, PyObject[] pyArgs, String[] keywords, org.python.core.ReflectedCallData callData)
           
static int precedence(Class<?> arg)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

args

public Class<?>[] args

data

public Object data

declaringClass

public Class<?> declaringClass

isStatic

public boolean isStatic

flags

public int flags

StandardCall

public static final int StandardCall
See Also:
Constant Field Values

PyArgsCall

public static final int PyArgsCall
See Also:
Constant Field Values

PyArgsKeywordsCall

public static final int PyArgsKeywordsCall
See Also:
Constant Field Values

REPLACE

public static final int REPLACE
See Also:
Constant Field Values
Constructor Detail

ReflectedArgs

public ReflectedArgs(Object data,
                     Class<?>[] args,
                     Class<?> declaringClass,
                     boolean isStatic)
Method Detail

matches

public boolean matches(PyObject self,
                       PyObject[] pyArgs,
                       String[] keywords,
                       org.python.core.ReflectedCallData callData)

precedence

public static int precedence(Class<?> arg)

compare

public static int compare(Class<?> arg1,
                          Class<?> arg2)

compareTo

public int compareTo(ReflectedArgs other)

toString

public String toString()
Overrides:
toString in class Object


Jython homepage