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

Examples of com.asakusafw.utils.java.model.syntax.ModelKind


     */
    public static List<SimpleName> toList(Name name) {
        if (name == null) {
            throw new IllegalArgumentException("name must not be null"); //$NON-NLS-1$
        }
        ModelKind kind = name.getModelKind();
        if (kind == ModelKind.SIMPLE_NAME) {
            return Collections.singletonList((SimpleName) name);
        } else {
            LinkedList<SimpleName> result = new LinkedList<SimpleName>();
            Name current = name;
View Full Code Here

TOP

Related Classes of com.asakusafw.utils.java.model.syntax.ModelKind

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.