Package net.bytebuddy.implementation
Interface FieldAccessor.FieldNameExtractor
-
- All Known Implementing Classes:
FieldAccessor.FieldNameExtractor.ForBeanProperty
,FieldAccessor.FieldNameExtractor.ForFixedValue
- Enclosing class:
- FieldAccessor
public static interface FieldAccessor.FieldNameExtractor
A field name extractor is responsible for determining a field name to a method that is implemented to access this method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FieldAccessor.FieldNameExtractor.ForBeanProperty
AFieldAccessor.FieldNameExtractor
that determines a field name according to the rules of Java bean naming conventions.static class
FieldAccessor.FieldNameExtractor.ForFixedValue
A field name extractor that returns a fixed value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
resolve(MethodDescription methodDescription)
Extracts a field name to be accessed by a getter or setter method.
-
-
-
Method Detail
-
resolve
java.lang.String resolve(MethodDescription methodDescription)
Extracts a field name to be accessed by a getter or setter method.- Parameters:
methodDescription
- The method for which a field name is to be determined.- Returns:
- The name of the field to be accessed by this method.
-
-