com.threerings.presents.tools
Class InvocationTask.ServiceMethod

java.lang.Object
  extended by com.threerings.presents.tools.InvocationTask.ServiceMethod
All Implemented Interfaces:
Comparable<InvocationTask.ServiceMethod>
Enclosing class:
InvocationTask

public class InvocationTask.ServiceMethod
extends Object
implements Comparable<InvocationTask.ServiceMethod>

Used to keep track of invocation service methods or listener methods.


Field Summary
 List<InvocationTask.ListenerArgument> listenerArgs
           
 Method method
           
 
Constructor Summary
InvocationTask.ServiceMethod(Method method, ImportSet imports)
          Creates a new service method.
 
Method Summary
 int compareTo(InvocationTask.ServiceMethod other)
           
 boolean equals(Object other)
           
 String getArgList()
           
 String getASArgList()
           
 String getASInvokeArgList()
           
 String getASUnwrappedArgList()
           
 String getASUnwrappedArgList(boolean listenerMode)
           
 String getASUnwrappedArgListAsListeners()
           
 String getASWrappedArgList()
           
 String getCode()
           
 String getSenderMethodName()
           
 String getTransport()
           
 String getUnwrappedArgList()
           
 String getUnwrappedArgList(boolean listenerMode)
           
 String getUnwrappedArgListAsListeners()
           
 String getWrappedArgList()
           
 boolean hasArgs()
           
 int hashCode()
           
 boolean hasParameterizedArgs()
           
 String typeParams()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

public Method method

listenerArgs

public List<InvocationTask.ListenerArgument> listenerArgs
Constructor Detail

InvocationTask.ServiceMethod

public InvocationTask.ServiceMethod(Method method,
                                    ImportSet imports)
Creates a new service method.

Parameters:
method - the method to inspect
imports - will be filled with the types required by the method
Method Detail

getCode

public String getCode()

getSenderMethodName

public String getSenderMethodName()

typeParams

public String typeParams()

getArgList

public String getArgList()

getASArgList

public String getASArgList()

getASInvokeArgList

public String getASInvokeArgList()

getWrappedArgList

public String getWrappedArgList()

getASWrappedArgList

public String getASWrappedArgList()

hasArgs

public boolean hasArgs()

hasParameterizedArgs

public boolean hasParameterizedArgs()

getUnwrappedArgListAsListeners

public String getUnwrappedArgListAsListeners()

getUnwrappedArgList

public String getUnwrappedArgList()

getUnwrappedArgList

public String getUnwrappedArgList(boolean listenerMode)

getASUnwrappedArgListAsListeners

public String getASUnwrappedArgListAsListeners()

getASUnwrappedArgList

public String getASUnwrappedArgList()

getASUnwrappedArgList

public String getASUnwrappedArgList(boolean listenerMode)

getTransport

public String getTransport()

compareTo

public int compareTo(InvocationTask.ServiceMethod other)
Specified by:
compareTo in interface Comparable<InvocationTask.ServiceMethod>

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011. All Rights Reserved.