Interface ClassContext

All Superinterfaces:
Context
All Known Subinterfaces:
FieldContext, MethodContext, ParameterContext

public interface ClassContext extends Context
Context storing information for all AnnotationHandler implementations working on a given class visit.
Author:
Lincoln Baxter, III
  • Method Details

    • getConfigurationBuilder

      ConfigurationBuilder getConfigurationBuilder()
      Get the ConfigurationBuilder shared by all class visits for the entire annotation configuration.
    • getRuleBuilder

      RuleBuilder getRuleBuilder()
      Get the RuleBuilder for the current class visit. If no base rule has been set by calling setBaseRule(Rule), the method will return a new RuleBuilder instance.
    • setBaseRule

      void setBaseRule(Rule rule)
      Sets the basic rule that is built from the class. Subsequent calls of getRuleBuilder() will return builder initialized with this rule.
    • getJavaClass

      Class<?> getJavaClass()
      Get the Java class that is currently processed