PathDescriptor

class PathDescriptor(val packageEntities: Array<String>, val classEntities: Array<String>, val entity: String)(source)

Path Signature

The path signature is the "path" of a method, class or field. It contains the package name, (optinally the parent class name) and the class/method/field name.

The package path is separated by the / character. When we have a parent class, we seperate it with the : character.

For example shake.lang.String would be represented as shake/lang/String. The method shake.lang.String::length would be represented as shake/lang/String:length.

If we have a class like this:

package shake.lang;

class String {
public int length() {
return 0;
}

class Builder {
public String build() {
return "";
}
}
}

The method shake.lang.String.Builder::build would be represented as shake/lang/String:Builder:build.

See specification

Since

0.1.0

Parameters

packageEntities

The package entities

classEntities

The class entities

entity

The entity

Constructors

Link copied to clipboard
constructor(packageEntities: Array<String>, classEntities: Array<String>, entity: String)

Creates a new PathDescriptor

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The class entities

Link copied to clipboard

The class path

Link copied to clipboard

String representation of the PathDescriptor

Link copied to clipboard

The entity

Link copied to clipboard

The package entities

Link copied to clipboard

The package path

Link copied to clipboard

The full path