We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Container.toString()
1 parent 65ac5b8 commit d9f243dCopy full SHA for d9f243d
java/ql/src/semmle/code/FileSystem.qll
@@ -146,9 +146,11 @@ class Container extends @container, Top {
146
}
147
148
/**
149
- * Gets a textual representation of the path of this container.
+ * Gets a textual representation of this container.
150
*
151
- * This is the absolute path of the container.
+ * The default implementation returns the absolute path to the container, but subclasses may
152
+ * may override to provide a different result. To get the absolute path for any `Container`, call
153
+ * `Container.getAbsolutePath()` directly.
154
*/
155
override string toString() { result = getAbsolutePath() }
156
0 commit comments