Class FieldRegistry.Default.Compiled

    • Field Detail

      • instrumentedType

        private final TypeDescription instrumentedType
        The instrumented type for which this registry was compiled for.
    • Constructor Detail

      • Compiled

        protected Compiled​(TypeDescription instrumentedType,
                           java.util.List<FieldRegistry.Default.Compiled.Entry> entries)
        Creates a new compiled field registry.
        Parameters:
        instrumentedType - The instrumented type for which this registry was compiled for.
        entries - The entries of this compiled field registry.
    • Method Detail

      • target

        public TypeWriter.FieldPool.Record target​(FieldDescription fieldDescription)
        Returns the field attribute appender that matches a given field description or a default field attribute appender if no appender was registered for the given field.
        Specified by:
        target in interface TypeWriter.FieldPool
        Parameters:
        fieldDescription - The field description of interest.
        Returns:
        The registered field attribute appender for the given field or the default appender if no such appender was found.