Package com.avast.syringe.config.internal

Examples of com.avast.syringe.config.internal.ConfigClassAnalyzer


                }

                builderMethodName = "new" + simpleName;
                singletonBuilderMethodName = makeFirstLowerCase(simpleName);

                propertyDescriptors = Lists.transform(new ConfigClassAnalyzer(cls).getConfigProperties(),
                        new Function<InjectableProperty, PropertyDescriptor>() {
                            @Override
                            public PropertyDescriptor apply(InjectableProperty prop) {
                                return new PropertyDescriptor(prop);
                            }
View Full Code Here


        Set<InjectableProperty> mapProperties = Sets.newHashSet();
        Set<InjectableProperty> refProperties = Sets.newHashSet();

        HashSet<String> declaredRefTypes = Sets.newHashSet();

        for (InjectableProperty property : new ConfigClassAnalyzer(configClass).getConfigProperties()) {

            if (property.isContextual()) {
                // Ignore contextual properties
                continue;
            }
View Full Code Here

                }

                builderMethodName = "new" + simpleName;
                singletonBuilderMethodName = makeFirstLowerCase(simpleName);

                propertyDescriptors = Lists.transform(new ConfigClassAnalyzer(cls).getConfigProperties(),
                        new Function<InjectableProperty, PropertyDescriptor>() {
                            @Override
                            public PropertyDescriptor apply(InjectableProperty prop) {
                                return new PropertyDescriptor(prop);
                            }
View Full Code Here

    public void generateXmlSchema(OutputStream output, boolean excludeOptional) throws Exception {
        Element configEl = new Element("config", namespaceUri);
        configEl.addNamespaceDeclaration(null, namespaceUri);

        for (InjectableProperty property : new ConfigClassAnalyzer(configClass).getConfigProperties()) {
            if (excludeOptional && property.isOptional()) {
                continue;
            }

            if (property.isContextual()) {
View Full Code Here

TOP

Related Classes of com.avast.syringe.config.internal.ConfigClassAnalyzer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.