-
- All Implemented Interfaces:
public final class ApexQualifiedNameQualified name of an apex class or method.
-
-
Method Summary
Modifier and Type Method Description Array<String>getClasses()StringgetOperation()booleanisClass()Returns true if the resource addressed by this qualified name is a class. booleanisOperation()Returns true if the resource addressed by this qualified name is an operation. StringtoString()ApexQualifiedNamegetClassName()Returns the qualified name of the class the resource is located in. inthashCode()booleanequals(Object obj)static ApexQualifiedNameofString(String toParse)Parses a string conforming to the format defined below and returns an ApexQualifiedName. -
-
Method Detail
-
getClasses
Array<String> getClasses()
-
getOperation
String getOperation()
-
isClass
boolean isClass()
Returns true if the resource addressed by this qualified name is a class.
-
isOperation
boolean isOperation()
Returns true if the resource addressed by this qualified name is an operation.
-
getClassName
ApexQualifiedName getClassName()
Returns the qualified name of the class the resource is located in. If this instance addresses a class, returns this instance.
-
hashCode
int hashCode()
-
ofString
static ApexQualifiedName ofString(String toParse)
Parses a string conforming to the format defined below and returns an ApexQualifiedName.
Here are some examples of the format:
OuterClass.InnerClass: name of an inner classClass#method(String, int): name of an operation
- Parameters:
toParse- The string to parse
-
-
-
-