Interface ClassContext
- All Superinterfaces:
Context
- All Known Subinterfaces:
FieldContext,MethodContext,ParameterContext
Context storing information for all
AnnotationHandler implementations working on a given class visit.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionGet theConfigurationBuildershared by all class visits for the entire annotation configuration.Class<?>Get the Java class that is currently processedGet theRuleBuilderfor the current class visit.voidsetBaseRule(Rule rule) Sets the basic rule that is built from the class.Methods inherited from interface org.ocpsoft.rewrite.context.Context
clear, containsKey, get, put
-
Method Details
-
getConfigurationBuilder
ConfigurationBuilder getConfigurationBuilder()Get theConfigurationBuildershared by all class visits for the entire annotation configuration. -
getRuleBuilder
RuleBuilder getRuleBuilder()Get theRuleBuilderfor the current class visit. If no base rule has been set by callingsetBaseRule(Rule), the method will return a newRuleBuilderinstance. -
setBaseRule
Sets the basic rule that is built from the class. Subsequent calls ofgetRuleBuilder()will return builder initialized with this rule. -
getJavaClass
Class<?> getJavaClass()Get the Java class that is currently processed
-