com.moesol.generator
Class MethodCallable

java.lang.Object
  extended by com.moesol.generator.Callable
      extended by com.moesol.generator.MethodCallable
Direct Known Subclasses:
JniMethodCallable

public class MethodCallable
extends Callable


Field Summary
 
Fields inherited from class com.moesol.generator.Callable
CLASS, METHOD, PACKAGE, PARAMETERS, WILD
 
Constructor Summary
MethodCallable(Class a_class, Method method)
           
MethodCallable(Method method)
           
 
Method Summary
 Class getDeclaringClass()
          See Method getDeclaringClass
 Class[] getExceptionTypes()
          See Method getExceptionTypes
 int getModifiers()
          See Method getModifiers
 String getName()
          See Method getName
 Class[] getParameterTypes()
          See Method getParameterTypes
 Class getReturnType()
          See Method getReturnType
 boolean isImpl()
          Determine if the method is a Java implementation method (if the name contains $ then return true).
 boolean isOverloaded()
          Determine if the declaring class has other methods with the same name, but different parameters.
 
Methods inherited from class com.moesol.generator.Callable
getKeyString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCallable

public MethodCallable(Method method)

MethodCallable

public MethodCallable(Class a_class,
                      Method method)
Method Detail

getDeclaringClass

public Class getDeclaringClass()
Description copied from class: Callable
See Method getDeclaringClass

Specified by:
getDeclaringClass in class Callable
Returns:

getReturnType

public Class getReturnType()
Description copied from class: Callable
See Method getReturnType

Specified by:
getReturnType in class Callable
Returns:

getParameterTypes

public Class[] getParameterTypes()
Description copied from class: Callable
See Method getParameterTypes

Specified by:
getParameterTypes in class Callable
Returns:

getExceptionTypes

public Class[] getExceptionTypes()
Description copied from class: Callable
See Method getExceptionTypes

Specified by:
getExceptionTypes in class Callable
Returns:

getName

public String getName()
Description copied from class: Callable
See Method getName

Specified by:
getName in class Callable
Returns:

getModifiers

public int getModifiers()
Description copied from class: Callable
See Method getModifiers

Specified by:
getModifiers in class Callable
Returns:

isOverloaded

public boolean isOverloaded()
Description copied from class: Callable
Determine if the declaring class has other methods with the same name, but different parameters.

Specified by:
isOverloaded in class Callable
Returns:

isImpl

public boolean isImpl()
Description copied from class: Callable
Determine if the method is a Java implementation method (if the name contains $ then return true).

Specified by:
isImpl in class Callable
Returns:


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.