Class BeanConvention

java.lang.Object
org.inferred.freebuilder.processor.naming.BeanConvention
All Implemented Interfaces:
NamingConvention

class BeanConvention extends Object implements NamingConvention
  • Field Details

    • GETTER_PATTERN

      static final Pattern GETTER_PATTERN
      Regular expression matching bean-convention method names.

      We deviate slightly from the JavaBean convention by insisting that there must be a non-lowercase character immediately following the get/is prefix; this prevents ugly cases like 'get()' or 'getter()'.

    • GET_PREFIX

      static final String GET_PREFIX
      See Also:
    • IS_PREFIX

      static final String IS_PREFIX
      See Also:
    • messager

      private final Messager messager
    • types

      private final Types types
  • Constructor Details

    • BeanConvention

      BeanConvention(Messager messager, Types types)
  • Method Details