| java.lang.Object org.apache.beehive.controls.runtime.generator.AptMethod
All known Subclasses: org.apache.beehive.controls.runtime.generator.AptOperation, org.apache.beehive.controls.runtime.generator.AptEvent, org.apache.beehive.controls.runtime.generator.AptEventHandler,
AptMethod | public class AptMethod (Code) | | The AptMethod class defines a base set of utility methods for acessing method attributes
based upon an APT method declaration.
|
_methodDecl | MethodDeclaration _methodDecl(Code) | | |
AptMethod | public AptMethod(MethodDeclaration methodDecl, TwoPhaseAnnotationProcessor ap)(Code) | | Constructs a new AptMethod instance associated with a specific method declaration
|
getArgDecl | public String getArgDecl(HashMap<String, TypeMirror> bindingMap)(Code) | | Returns the argument declaration of the method, applying the bindings in the provided
type map to any parameter types
|
getArgDecl | public String getArgDecl()(Code) | | Returns the arguments declarations for the method, with no formal parameter binding applied
|
getArgList | public String getArgList(boolean quoteDelimit)(Code) | | Returns the the method argument names, in a comma separated list
|
getArgList | public String getArgList()(Code) | | Default form of getArgList, that does not quote delimit arguments
|
getArgTypes | public String getArgTypes()(Code) | | Returns the the method argument classes, in a comma separated list
|
getDefaultReturnValue | public String getDefaultReturnValue(HashMap<String, TypeMirror> typeBinding)(Code) | | Returns a default return value string for the method, based upon bound return type
|
getDefaultReturnValue | public String getDefaultReturnValue()(Code) | | Returns a default return value string for the method, with no type binding applied
|
getFeatureInfo | public FeatureInfo getFeatureInfo()(Code) | | Returns any FeatureInfo associated with the method (or null if none)
|
getFormalTypes | public String getFormalTypes()(Code) | | Returns the declaration of any generic formal types associated with the method
|
getIndex | public int getIndex()(Code) | | Returns the unique index value for this method.
|
getInterceptorDecl | public String getInterceptorDecl()(Code) | | Returns the names of interceptor service interfaces associated with this operation, formatted as a
constant initializer string.
the names of the interceptor service interfaces associated with this operation |
getInterceptorServiceNames | public Collection<String> getInterceptorServiceNames()(Code) | | Returns the names of interceptor service interfaces associated with this operation
the names of the interceptor service interfaces associated with this operation |
getName | public String getName()(Code) | | Returns the name of the method
|
getReturnType | public String getReturnType(HashMap<String, TypeMirror> bindingMap)(Code) | | Returns the method return type, applying any formal type parameter bindings defined
by the provided map.
|
getReturnType | public String getReturnType()(Code) | | Returns the method return type with no type bindings applied
|
getThrowsClause | public String getThrowsClause()(Code) | | Returns the throws clause of the operation
|
hasParameterizedArguments | public boolean hasParameterizedArguments()(Code) | | Returns 'true' if the method uses any parameterized types as parameters
|
isPublic | protected boolean isPublic()(Code) | | Is this a public method?
true if public |
setIndex | public void setIndex(int index)(Code) | | Sets the unique index value for this method. If a particular method is overloaded,
then each associated AptMethod will have a unique index; otherwise, the index is -1.
|
|
|