com.threerings.presents.tools
Class InvocationTask.ServiceMethod
java.lang.Object
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.
method
public Method method
listenerArgs
public List<InvocationTask.ListenerArgument> listenerArgs
InvocationTask.ServiceMethod
public InvocationTask.ServiceMethod(Method method,
ImportSet imports)
- Creates a new service method.
- Parameters:
method - the method to inspectimports - will be filled with the types required by the method
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.