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

Object
  extended by GenMethod
      extended by ControlEvent
          extended by AptEvent

public class AptEvent
extends ControlEvent

The AptEvent class represents a control Property where the event attributes are derived using APT metadata


Constructor Summary
AptEvent(AptEventSet eventSet, MethodDeclaration eventDecl, AnnotationProcessorEnvironment env)
          Constructs a new AptEvent instance from APT metadata
 
Method Summary
 String getArgDecl()
          Returns the method argument declaration
 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 method
 ArrayList getThrowsList()
          Returns an ArrayList containing the list of thrown exceptions
 
Methods inherited from class ControlEvent
getEventSet, init
 
Methods inherited from class GenMethod
getArgList, getDefaultReturnValue
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptEvent

public AptEvent(AptEventSet eventSet,
                MethodDeclaration eventDecl,
                AnnotationProcessorEnvironment env)
Constructs a new AptEvent instance from APT metadata

Parameters:
eventSet - the declaring EventSet
eventDecl - the event annotation type element declaration
env - the annotation processing environment
Method Detail

getName

public String getName()
Description copied from class: GenMethod
Returns the name of the method

Specified by:
getName in class GenMethod

getArgDecl

public String getArgDecl()
Description copied from class: GenMethod
Returns the method argument declaration

Specified by:
getArgDecl in class GenMethod

getArgList

public String getArgList(boolean quoteDelimit)
Description copied from class: GenMethod
Returns the the method argument names, in a comma separated list. The quoteDelimit specifies whether names are quoted (Strings) or raw form

Specified by:
getArgList in class GenMethod

getArgTypes

public String getArgTypes()
Description copied from class: GenMethod
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()
Description copied from class: GenMethod
Returns the throws clause of the method

Specified by:
getThrowsClause in class GenMethod

getThrowsList

public ArrayList getThrowsList()
Description copied from class: GenMethod
Returns an ArrayList containing the list of thrown exceptions

Specified by:
getThrowsList in class GenMethod