net.sourceforge.pmd.lang.ast.QualifiedName
public 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.QualifiedName
public boolean isOperation()
isOperation
in interface net.sourceforge.pmd.lang.ast.QualifiedName
public java.lang.String toString()
toString
in interface net.sourceforge.pmd.lang.ast.QualifiedName
toString
in class java.lang.Object
public ApexQualifiedName getClassName()
getClassName
in interface net.sourceforge.pmd.lang.ast.QualifiedName
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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.