com.threerings.presents.tools
Class GenServiceTask.ServiceListener
java.lang.Object
com.threerings.presents.tools.GenServiceTask.ServiceListener
- All Implemented Interfaces:
- Comparable<GenServiceTask.ServiceListener>
- Enclosing class:
- GenServiceTask
public class GenServiceTask.ServiceListener
- extends Object
- implements Comparable<GenServiceTask.ServiceListener>
Used to keep track of custom InvocationListener derivations.
listener
public Class<?> listener
methods
public List<InvocationTask.ServiceMethod> methods
imports
public ImportSet imports
- Contains all imports required for the parameters of the methods in this listener.
GenServiceTask.ServiceListener
public GenServiceTask.ServiceListener(Class<?> service,
Class<?> listener)
addInterfaces
protected void addInterfaces(Class<?> listener,
Set<Class<?>> ifaces)
hasParameterizedMethodArgs
public boolean hasParameterizedMethodArgs()
- Checks whether any of our methods have parameterized types.
getListenerName
public String getListenerName()
adapterCtorArgs
public String adapterCtorArgs()
compareTo
public int compareTo(GenServiceTask.ServiceListener other)
- Specified by:
compareTo in interface Comparable<GenServiceTask.ServiceListener>
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object