rewrite-config-annotations-api 1.1.0.Final

org.ocpsoft.rewrite.annotation.api
Interface FieldContext

All Superinterfaces:
ClassContext, Context

public interface FieldContext
extends ClassContext

Context for scanning a single field of a class

Author:
Christian Kaltepoth

Method Summary
 BindingBuilder getBindingBuilder()
          Returns the BindingBuilder for the current field.
 ClassContext getClassContext()
          Return the parent ClassContext to which this context is a descendant.
 void setBindingBuilder(BindingBuilder bindingBuilder)
          Sets the BindingBuilder for the current field.
 
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 field. Should be called by annotation handlers after they created a binding for the field.


getBindingBuilder

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


getClassContext

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


rewrite-config-annotations-api 1.1.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.