| Class and Description |
|---|
| ImportDeclaration
This class is a base class for classes representing import declarations.
|
| Class and Description |
|---|
| ImportDeclaration
This class is a base class for classes representing import declarations.
|
| Class and Description |
|---|
| ImportDeclaration
This class is a base class for classes representing import declarations.
|
| SingleStaticImportDeclaration
Example:
import static com.github.javaparser.JavaParser.parse; In the example,
"com.github.javaparser.JavaParser" is the type, and "parse" is the staticMember. |
| SingleTypeImportDeclaration
Example:
import com.github.javaparser.JavaParser; |
| StaticImportOnDemandDeclaration
Example:
import static com.github.javaparser.JavaParser.*; |
| TypeImportOnDemandDeclaration
Examples:
import com.github.javaparser.*; import com.github.javaparser.JavaParser.*; Since a parser
cannot differentiate between a type name and a package name, we can only store a Name. |
| Class and Description |
|---|
| BadImportDeclaration
An import declaration that failed to parse.
|
| SingleStaticImportDeclaration
Example:
import static com.github.javaparser.JavaParser.parse; In the example,
"com.github.javaparser.JavaParser" is the type, and "parse" is the staticMember. |
| SingleTypeImportDeclaration
Example:
import com.github.javaparser.JavaParser; |
| StaticImportOnDemandDeclaration
Example:
import static com.github.javaparser.JavaParser.*; |
| TypeImportOnDemandDeclaration
Examples:
import com.github.javaparser.*; import com.github.javaparser.JavaParser.*; Since a parser
cannot differentiate between a type name and a package name, we can only store a Name. |
| Class and Description |
|---|
| BadImportDeclaration
An import declaration that failed to parse.
|
| SingleStaticImportDeclaration
Example:
import static com.github.javaparser.JavaParser.parse; In the example,
"com.github.javaparser.JavaParser" is the type, and "parse" is the staticMember. |
| SingleTypeImportDeclaration
Example:
import com.github.javaparser.JavaParser; |
| StaticImportOnDemandDeclaration
Example:
import static com.github.javaparser.JavaParser.*; |
| TypeImportOnDemandDeclaration
Examples:
import com.github.javaparser.*; import com.github.javaparser.JavaParser.*; Since a parser
cannot differentiate between a type name and a package name, we can only store a Name. |
Copyright © 2007–2016. All rights reserved.