IPackageCache.ITypeDefinition Interface
- public static interface IPackageCache.ITypeDefinition
ITypeDefinition defines a cached package to be a set of two values, a type name and a package name.
For example, type java.util.List
is split into type name "List", and package "java.util".
-
Enclosing interface
-
IPackageCache
public URI |
-
getJarURI ()
- Returns the URI of the classpath jar that contains this type.
|
public String |
-
getPackage ()
- Returns the package of this package definition.
|
public URI |
-
getSourceURI ()
- Returns the URI of the source file that defines this type.
|
public String |
-
getTypeName ()
- Returns the type of this package definition.
|
public boolean |
-
isInnerType ()
- Returns whether this type is an inner type, defined within another type.
|
getJarURI() Method
public URI
getJarURI()
Returns the URI of the classpath jar that contains this type. Null will be returned if the type
did not come from a classpath jar.
getPackage() Method
public String
getPackage()
Returns the package of this package definition. In the case of package java.util.List
,
this method will return the String "java.util". In the case of an inner type, this string contain the
full path to this type, including outter class name(s).
getSourceURI() Method
public URI
getSourceURI()
Returns the URI of the source file that defines this type. Null will be returned if source is not
available.
getTypeName() Method
public String
getTypeName()
Returns the type of this package definition. In the case of package java.util.List
,
this method will return the String "List".
isInnerType() Method
public boolean isInnerType()
Returns whether this type is an inner type, defined within another type. If this is the case, the package
(as returned by getPackage) will contain the full path to this type, including outter class name(s), separated
by dots.