Package 

Class ApexQualifiedName

  • All Implemented Interfaces:

    
    public final class ApexQualifiedName
    
                        

    Qualified name of an apex class or method.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • 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.

      • 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 class
        • Class#method(String, int): name of an operation
        Parameters:
        toParse - The string to parse