net.sourceforge.pmd.lang.ast.QualifiedNamepublic class ApexQualifiedName extends java.lang.Object implements net.sourceforge.pmd.lang.ast.QualifiedName
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String[] |
getClasses() |
|
ApexQualifiedName |
getClassName() |
|
java.lang.String |
getNameSpace() |
Gets the namespace prefix of this resource.
|
java.lang.String |
getOperation() |
|
int |
hashCode() |
|
boolean |
isClass() |
|
boolean |
isOperation() |
|
static ApexQualifiedName |
ofString(java.lang.String toParse) |
Parses a string conforming to the format defined below and returns an ApexQualifiedName.
|
java.lang.String |
toString() |
public java.lang.String getOperation()
public java.lang.String[] getClasses()
public java.lang.String getNameSpace()
public boolean isClass()
isClass in interface net.sourceforge.pmd.lang.ast.QualifiedNamepublic boolean isOperation()
isOperation in interface net.sourceforge.pmd.lang.ast.QualifiedNamepublic java.lang.String toString()
toString in interface net.sourceforge.pmd.lang.ast.QualifiedNametoString in class java.lang.Objectpublic ApexQualifiedName getClassName()
getClassName in interface net.sourceforge.pmd.lang.ast.QualifiedNamepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static ApexQualifiedName ofString(java.lang.String toParse)
Here are some examples of the format:
namespace__OuterClass.InnerClass: name of an inner class
namespace__Class#method(String, int): name of an operation
toParse - The string to parseCopyright © 2002–2018 PMD. All rights reserved.