Annotation Type Service

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String analyzer
      The name of the ClassAnalyzer service that should be used to analyze this class
      java.lang.String metadata
      Additional metadata that goes into the inhabitants file.
      java.lang.String name
      Name of the service.
      • metadata

        java.lang.String metadata
        Additional metadata that goes into the inhabitants file. The value is "key={value},key={value1,value2,...},..." format. This information is accessible from Descriptor.getMetadata().

        While this is limited in expressiveness, metadata has a performance advantage in it that it can be read without even creating a classloader for this class. For example, this feature is used by the configuration module so that the config file can be read without actually loading the classes.

        Default:
        ""
      • analyzer

        java.lang.String analyzer
        The name of the ClassAnalyzer service that should be used to analyze this class
        Returns:
        The name of the ClassAnalyzer service that should be used to analyze this class
        Default:
        "default"