public class OptionalPropertyFinder<T> extends PropertyFinder<Optional<T>>
PropertyFinder.DefaultPropertyFinderProbe, PropertyFinder.FoundProperty<T>, PropertyFinder.MatchedProperty<T,P extends PropertyMeta<T,?>>, PropertyFinder.MatchingProperties<T>, PropertyFinder.PropertyFilter, PropertyFinder.PropertyFinderProbe, PropertyFinder.PropertyFinderTransformer, PropertyFinder.TypeAffinityScorer
IDENTITY_TRANSFORMER
Constructor and Description |
---|
OptionalPropertyFinder(OptionalClassMeta<T> optionalClassMeta,
boolean selfScoreFullName) |
Modifier and Type | Method and Description |
---|---|
List<InstantiatorDefinition> |
getEligibleInstantiatorDefinitions() |
PropertyFinder<?> |
getOrCreateSubPropertyFinder(SubPropertyMeta<?,?,?> subPropertyMeta) |
Type |
getOwnerType() |
PropertyFinder<?> |
getSubPropertyFinder(PropertyMeta<?,?> owner) |
void |
lookForProperties(PropertyNameMatcher propertyNameMatcher,
Object[] properties,
PropertyFinder.FoundProperty<Optional<T>> matchingProperties,
PropertyMatchingScore score,
boolean allowSelfReference,
PropertyFinder.PropertyFinderTransformer propertyFinderTransformer,
PropertyFinder.TypeAffinityScorer typeAffinityScorer,
PropertyFinder.PropertyFilter propertyFilter) |
findProperty, findProperty, findProperty, findProperty, manualMatch, selfScoreFullName
public OptionalPropertyFinder(OptionalClassMeta<T> optionalClassMeta, boolean selfScoreFullName)
public void lookForProperties(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty<Optional<T>> matchingProperties, PropertyMatchingScore score, boolean allowSelfReference, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter)
lookForProperties
in class PropertyFinder<Optional<T>>
public List<InstantiatorDefinition> getEligibleInstantiatorDefinitions()
getEligibleInstantiatorDefinitions
in class PropertyFinder<Optional<T>>
public PropertyFinder<?> getSubPropertyFinder(PropertyMeta<?,?> owner)
getSubPropertyFinder
in class PropertyFinder<Optional<T>>
public PropertyFinder<?> getOrCreateSubPropertyFinder(SubPropertyMeta<?,?,?> subPropertyMeta)
getOrCreateSubPropertyFinder
in class PropertyFinder<Optional<T>>
public Type getOwnerType()
getOwnerType
in class PropertyFinder<Optional<T>>
Copyright © 2019. All rights reserved.