| 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.
|
| NonEmptyImportDeclaration
Common ancestor for all imports, aside EmptyImportDeclaration
|
| 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 |
|---|
| EmptyImportDeclaration
Deprecated.
will be removed in 3.0
|
| 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 |
|---|
| EmptyImportDeclaration
Deprecated.
will be removed in 3.0
|
| 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.