Package com.asakusafw.utils.java.model.syntax

Examples of com.asakusafw.utils.java.model.syntax.ModelFactory.newArrayInitializer()


            String name = context.getFieldName(property.findDeclaration()).getToken();
            properties.add(Models.toLiteral(f, name));
        }
        return new AttributeBuilder(f)
            .annotation(context.resolve(PrimaryKey.class),
                    "value", f.newArrayInitializer(properties))
            .toAnnotations();
    }
}
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.