public ImportDeclaration adapt(ImportDeclarationContext context) {
ImportDeclaration importDeclaration = createNode(context);
importDeclaration.setStatic(hasTerminalNode(context, JavaParser.STATIC));
importDeclaration.setAsterisk(hasTerminalNode(context, JavaParser.MUL));
QualifiedNameContext qualifiedNameContext = getChild(context, QualifiedNameContext.class);
if (qualifiedNameContext != null) {
importDeclaration.setQualifiedName(
getAdapter(QualifiedNameAdapter.class).adapt(qualifiedNameContext));
}