Package org.sonar.php.tree.symbols
Class SymbolQualifiedName
java.lang.Object
org.sonar.php.tree.symbols.SymbolQualifiedName
- All Implemented Interfaces:
QualifiedName
-
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolQualifiedName
static SymbolQualifiedName
create
(NamespaceNameTree nameTree) boolean
int
hashCode()
static SymbolQualifiedName
qualifiedName
(String qualifiedNameString) Utility method to conveniently create SymbolQualifiedName objects with PHP namespace notation.toString()
-
Method Details
-
qualifiedName
Utility method to conveniently create SymbolQualifiedName objects with PHP namespace notation. Ex: qualifiedName("Foo\Bar\FooBar") -
create
-
create
-
simpleName
- Specified by:
simpleName
in interfaceQualifiedName
- Returns:
- the last element of qualified name i.e.
bar
fornamespace\foo\bar
, ormethod
fornamespace\A::method
-
equals
-
hashCode
public int hashCode() -
toString
-