com.threerings.presents.tools
Class GenServiceTask.ServiceDescription

java.lang.Object
  extended by com.threerings.presents.tools.GenServiceTask.ServiceDescription
Enclosing class:
GenServiceTask

protected class GenServiceTask.ServiceDescription
extends Object

Rolls up everything needed for the generate* methods.


Field Summary
 Class<?> callerType
           
 boolean callerTypeSpecified
           
 ImportSet imports
           
 List<GenServiceTask.ServiceListener> listeners
           
 List<InvocationTask.ServiceMethod> methods
           
 Class<?> service
           
 boolean skipAS
           
 String sname
           
 String spackage
           
 
Constructor Summary
GenServiceTask.ServiceDescription(Class<?> serviceClass)
           
 
Method Summary
 ImportSet constructAllImports()
          Constructs a union of the imports of the service methods and all listener methods.
 boolean hasAnyListenerArgs()
          Checks if any of the service method arguments are listener types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callerType

public Class<?> callerType

callerTypeSpecified

public boolean callerTypeSpecified

service

public Class<?> service

sname

public String sname

spackage

public String spackage

imports

public ImportSet imports

methods

public List<InvocationTask.ServiceMethod> methods

listeners

public List<GenServiceTask.ServiceListener> listeners

skipAS

public final boolean skipAS
Constructor Detail

GenServiceTask.ServiceDescription

public GenServiceTask.ServiceDescription(Class<?> serviceClass)
Method Detail

hasAnyListenerArgs

public boolean hasAnyListenerArgs()
Checks if any of the service method arguments are listener types.


constructAllImports

public ImportSet constructAllImports()
Constructs a union of the imports of the service methods and all listener methods.