rewrite-config-annotations-api 1.1.0.Final

org.ocpsoft.rewrite.annotation.api
Interface ParameterContext

All Superinterfaces:
ClassContext, Context

public interface ParameterContext
extends ClassContext

Context for scanning a single field of a class

Author:
Christian Kaltepoth

Method Summary
 BindingBuilder getBindingBuilder()
          Returns the BindingBuilder for the current parameter.
 ClassContext getClassContext()
          Return the parent ClassContext to which this context is a descendant.
 MethodContext getMethodContext()
          Return the parent MethodContext to which this context is a descendant.
 void setBindingBuilder(BindingBuilder bindingBuilder)
          Sets the BindingBuilder for the current parameter.
 
Methods inherited from interface org.ocpsoft.rewrite.annotation.api.ClassContext
getConfigurationBuilder, getRuleBuilder
 
Methods inherited from interface org.ocpsoft.rewrite.context.Context
containsKey, get, put
 

Method Detail

setBindingBuilder

void setBindingBuilder(BindingBuilder bindingBuilder)
Sets the BindingBuilder for the current parameter. Should be called by annotation handlers after creating a binding for the parameter.


getBindingBuilder

BindingBuilder getBindingBuilder()
Returns the BindingBuilder for the current parameter. May return null if no binding has yet been created for the parameter.


getClassContext

ClassContext getClassContext()
Return the parent ClassContext to which this context is a descendant.


getMethodContext

MethodContext getMethodContext()
Return the parent MethodContext to which this context is a descendant.


rewrite-config-annotations-api 1.1.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.