Uses of Class
com.github.javaparser.ast.ImportDeclaration
Packages that use ImportDeclaration
Package
Description
Implementation of model based on JavaParser.
-
Uses of ImportDeclaration in com.github.javaparser
Fields in com.github.javaparser with type parameters of type ImportDeclarationModifier and TypeFieldDescriptionstatic final ParseStart<ImportDeclaration> ParseStart.IMPORT_DECLARATIONMethods in com.github.javaparser that return ImportDeclarationModifier and TypeMethodDescriptionfinal ImportDeclarationGeneratedJavaParser.ImportDeclaration()Import declaration types are not differentiated in the class hierarchy.final ImportDeclarationGeneratedJavaParser.ImportDeclarationParseStart()JavaParserAdapter.parseImport(String importDeclaration) static ImportDeclarationStaticJavaParser.parseImport(String importDeclaration) Parses the Java import contained in aStringand returns aImportDeclarationthat represents it.Methods in com.github.javaparser that return types with arguments of type ImportDeclarationModifier and TypeMethodDescriptionJavaParser.parseImport(String importDeclaration) Parses the Java import contained in aStringand returns aImportDeclarationthat represents it. -
Uses of ImportDeclaration in com.github.javaparser.ast
Classes in com.github.javaparser.ast that implement interfaces with type arguments of type ImportDeclarationFields in com.github.javaparser.ast with type parameters of type ImportDeclarationMethods in com.github.javaparser.ast that return ImportDeclarationModifier and TypeMethodDescriptionImportDeclaration.clone()CompilationUnit.getImport(int i) ImportDeclaration.setAsterisk(boolean isAsterisk) ImportDeclaration.setStatic(boolean isStatic) Methods in com.github.javaparser.ast that return types with arguments of type ImportDeclarationModifier and TypeMethodDescriptionCompilationUnit.getImports()Retrieves the list of imports declared in this compilation unit ornullif there is no import.Methods in com.github.javaparser.ast with parameters of type ImportDeclarationModifier and TypeMethodDescriptionCompilationUnit.addImport(ImportDeclaration importDeclaration) adds an import if not implicitly imported by java (i.e.CompilationUnit.getImportPackageName(ImportDeclaration importDeclaration) private booleanCompilationUnit.isImplicitImport(ImportDeclaration importDeclaration) CompilationUnit.setImport(int i, ImportDeclaration imports) Method parameters in com.github.javaparser.ast with type arguments of type ImportDeclarationModifier and TypeMethodDescriptionCompilationUnit.setImports(NodeList<ImportDeclaration> imports) Sets the list of imports of this compilation unit.Constructor parameters in com.github.javaparser.ast with type arguments of type ImportDeclarationModifierConstructorDescriptionCompilationUnit(PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) CompilationUnit(TokenRange tokenRange, PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) This constructor is used by the parser and is considered private. -
Uses of ImportDeclaration in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ImportDeclarationModifier and TypeMethodDescriptionCloneVisitor.visit(ImportDeclaration n, Object arg) EqualsVisitor.visit(ImportDeclaration n, Visitable arg) GenericListVisitorAdapter.visit(ImportDeclaration n, A arg) GenericVisitor.visit(ImportDeclaration n, A arg) GenericVisitorAdapter.visit(ImportDeclaration n, A arg) GenericVisitorWithDefaults.visit(ImportDeclaration n, A arg) HashCodeVisitor.visit(ImportDeclaration n, Void arg) ModifierVisitor.visit(ImportDeclaration n, A arg) NoCommentEqualsVisitor.visit(ImportDeclaration n, Visitable arg) NoCommentHashCodeVisitor.visit(ImportDeclaration n, Void arg) voidNodeFinderVisitor.visit(ImportDeclaration n, Range arg) ObjectIdentityEqualsVisitor.visit(ImportDeclaration n, Visitable arg) ObjectIdentityHashCodeVisitor.visit(ImportDeclaration n, Void arg) voidVoidVisitor.visit(ImportDeclaration n, A arg) voidVoidVisitorAdapter.visit(ImportDeclaration n, A arg) voidVoidVisitorWithDefaults.visit(ImportDeclaration n, A arg) -
Uses of ImportDeclaration in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type ImportDeclarationModifier and TypeMethodDescriptionvoidDefaultPrettyPrinterVisitor.visit(ImportDeclaration n, Void arg) voidPrettyPrintVisitor.visit(ImportDeclaration n, Void arg) Deprecated.Method parameters in com.github.javaparser.printer with type arguments of type ImportDeclarationModifier and TypeMethodDescriptionprivate voidDefaultPrettyPrinterVisitor.printImports(NodeList<ImportDeclaration> imports, Void arg) -
Uses of ImportDeclaration in com.github.javaparser.printer.configuration
Methods in com.github.javaparser.printer.configuration that return types with arguments of type ImportDeclarationModifier and TypeMethodDescriptionImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> imports) Sort the list of imports into groups.Method parameters in com.github.javaparser.printer.configuration with type arguments of type ImportDeclarationModifier and TypeMethodDescriptionImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> imports) Sort the list of imports into groups. -
Uses of ImportDeclaration in com.github.javaparser.printer.configuration.imports
Methods in com.github.javaparser.printer.configuration.imports that return types with arguments of type ImportDeclarationModifier and TypeMethodDescriptionDefaultImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) EclipseImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) IntelliJImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) Method parameters in com.github.javaparser.printer.configuration.imports with type arguments of type ImportDeclarationModifier and TypeMethodDescriptionDefaultImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) EclipseImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) IntelliJImportOrderingStrategy.sortImports(NodeList<ImportDeclaration> nodes) -
Uses of ImportDeclaration in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type ImportDeclarationModifier and TypeMethodDescriptionDefaultVisitorAdapter.visit(ImportDeclaration node, Boolean aBoolean)