protected void processAsPropertyNames ( QualifiedName name , NameAcceptor acceptor ) { String nameAsPropertyName = tryGetAsPropertyName ( name . toString ( ) ) ; if ( nameAsPropertyName != null ) { if ( featureCall == null || featureCall instanceof XAssignment ) { String aliasedSetter = "set" + nameAsPropertyName ; acceptor . accept ( aliasedSetter , 2 ) ; } if ( ! ( featureCall instanceof XAssignment ) ) { if ( featureCall == null || ! getFeatureCall ( ) . isExplicitOperationCallOrBuilderSyntax ( ) ) { String aliasedGetter = "get" + nameAsPropertyName ; acceptor . accept ( aliasedGetter , 2 ) ; String aliasedBooleanGetter = "is" + nameAsPropertyName ; acceptor . accept ( aliasedBooleanGetter , 2 ) ; } } } }
Considers the given name to be a property name . If the concrete syntax of the processed feature matches a feature call or assignment a prefix is added to the name and that one is used as a variant that should be processed .