Registers a regular import (e.g., import java.util.List). The alias name will be used to reference the imported class. @param name the alias name for this import @param type the ClassNode to import @throws SyntaxException if the name conflicts with an existing declaration
(final String name, final ClassNode type)
| 210 | * @throws SyntaxException if the name conflicts with an existing declaration |
| 211 | */ |
| 212 | public void addImport(final String name, final ClassNode type) { |
| 213 | addImport(name, type, Collections.emptyList()); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Registers a regular import with optional annotations. |
no test coverage detected