org.apache.beehive.controls.runtime.generator.apt
Class AptMethodHelper

Object
  extended by GenMethod
      extended by AptMethodHelper

public class AptMethodHelper
extends GenMethod

The AptMethodHelper class is a helper class that knows how to generate useful information such as argument declarations, argument lists, return type info, etc from a MethodDeclaration


Method Summary
 String getArgDecl()
          Returns the argument declaration of the operation
 String getArgList(boolean quoteDelimit)
          Returns the the method argument names, in a comma separated list
 String getArgTypes()
          Returns the the method argument classes, in a comma separated list
 String getName()
          Returns the name of the method
 String getReturnType()
          Returns the return type name of the method
 String getThrowsClause()
          Returns the throws clause of the operation
 ArrayList getThrowsList()
          Returns an ArrayList of thrown exceptions
 
Methods inherited from class GenMethod
getArgList, getDefaultReturnValue
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns the name of the method

Specified by:
getName in class GenMethod

getArgDecl

public String getArgDecl()
Returns the argument declaration of the operation

Specified by:
getArgDecl in class GenMethod

getArgList

public String getArgList(boolean quoteDelimit)
Returns the the method argument names, in a comma separated list

Specified by:
getArgList in class GenMethod

getArgTypes

public String getArgTypes()
Returns the the method argument classes, in a comma separated list

Specified by:
getArgTypes in class GenMethod

getReturnType

public String getReturnType()
Description copied from class: GenMethod
Returns the return type name of the method

Specified by:
getReturnType in class GenMethod

getThrowsClause

public String getThrowsClause()
Returns the throws clause of the operation

Specified by:
getThrowsClause in class GenMethod

getThrowsList

public ArrayList getThrowsList()
Returns an ArrayList of thrown exceptions

Specified by:
getThrowsList in class GenMethod