Interface ClassFile.AttributeMapperOption

All Superinterfaces:
ClassFile.Option
Enclosing interface:
ClassFile

public static sealed interface ClassFile.AttributeMapperOption extends ClassFile.Option
Option describing attribute mappers for custom attributes. Default is only to process standard attributes.
Since:
24
  • Method Details

    • of

      Returns an option describing attribute mappers for custom attributes.
      Parameters:
      attributeMapper - a function mapping attribute names to attribute mappers
      Returns:
      an option describing attribute mappers for custom attributes
    • attributeMapper

      Function<Utf8Entry, AttributeMapper<?>> attributeMapper()
      Returns the function mapping attribute names to attribute mappers.
      Returns:
      the function mapping attribute names to attribute mappers