public final class InternalType extends Type
Besides the type's package and class name, an internal type also contains the category (e.g. "JDK internal API") and source which contains the type (e.g. "rt.jar") as reported by JDeps.
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory() |
String |
getSource() |
static InternalType |
of(String packageName,
String className,
String category,
String source)
Returns an internal type for the specified arguments.
|
String |
toString() |
equals, getClassName, getPackageName, hashCode, of, ofpublic static InternalType of(String packageName, String className, String category, String source)
packageName - the name of the package containing the typeclassName - the name of the type's classcategory - the category as reported by JDeps (e.g. "JDK internal API")source - the source as reported by JDeps (e.g. "rt.jar")public String getCategory()
public String getSource()
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.