public class ImportType extends BaseType
Constructor and Description |
---|
ImportType(String name)
Create a new ImportType with the specified name
|
Modifier and Type | Method and Description |
---|---|
String |
getPackage()
Get the name of the package that this import is based on: EX: test.* will
return "test" EX: test.Test will return "test"
|
boolean |
isClass()
Return true if this is a class import.
|
boolean |
isPackage()
Return true if this is a package import.
|
public ImportType(String name)
name
- public boolean isClass()
public boolean isPackage()
public String getPackage()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.