Class CustomAnnotationRegistry.AnnotationResolverContext

    • Method Detail

      • getConfigType

        public Class<?> getConfigType()
        Returns the config type, which triggered the write method.
        Returns:
        config type
      • getField

        public Field getField()
        Returns the field, holder of the written annotation.
        Returns:
        field
      • getAnnotatedConfig

        public Object getAnnotatedConfig()
        Returns the annotated config, holder of the field.
        Returns:
        annotated config
      • getKeyName

        public String getKeyName()
        Returns the preferred name of the field for configuration use.
        Returns:
        key
      • isPartOfConfigObject

        public boolean isPartOfConfigObject()
        Returns whether or not the field is a part of config object, and the getAnnotatedConfig() is a config object.
        Returns:
        config object or not