Interface ClassFile.AttributeMapperOption
- All Superinterfaces:
ClassFile.Option
- Enclosing interface:
ClassFile
Option describing attribute mappers for custom attributes.
Default is only to process standard attributes.
- Since:
- 24
-
Method Summary
Modifier and TypeMethodDescriptionReturns the function mapping attribute names to attribute mappers.of
(Function<Utf8Entry, AttributeMapper<?>> attributeMapper) Returns an option describing attribute mappers for custom attributes.
-
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
-