package de.renew.formalism.java;

/**
 * Represents an import declaration.
 */
public class ParsedImportDecl {

    /**
     * The name of the import.
     */
    public String _name;

    /**
     * True if it’s a package import, false if it’s a class import.
     */
    public boolean _star;

    /**
     * Constructor to create a new import.
     *
     * @param name the name of the class or package
     * @param star true if it’s a package, false if it’s a class
     */
    public ParsedImportDecl(String name, boolean star) {
        this._name = name;
        this._star = star;
    }
}