Package com.asakusafw.utils.java.model.util

Examples of com.asakusafw.utils.java.model.util.AttributeBuilder.annotation()


                                        .toExpression(),
                                "expression", Models.toLiteral(factory, entry.getProperty()))
                        .toAnnotations());
            }

            attributes.annotation(
                    t(KeyInfo.class),
                    "group", factory.newArrayInitializer(group),
                    "order", factory.newArrayInitializer(order));
        }
        return factory.newFormalParameterDeclaration(
View Full Code Here


                    .field(property.getName())
                    .toExpression()));
            }
            AttributeBuilder attributes = new AttributeBuilder(factory);
            if (orderingInfo.isEmpty() == false) {
                attributes = attributes.annotation(
                        importer.toType(SuppressWarnings.class),
                        Models.toLiteral(factory, "deprecation"));
            }
            attributes.annotation(t(Override.class)).Public();
View Full Code Here

            if (orderingInfo.isEmpty() == false) {
                attributes = attributes.annotation(
                        importer.toType(SuppressWarnings.class),
                        Models.toLiteral(factory, "deprecation"));
            }
            attributes.annotation(t(Override.class)).Public();

            return factory.newMethodDeclaration(
                    null,
                    attributes.toAttributes(),
                    t(void.class),
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.