Class Utilities


  • public class Utilities
    extends Object
    Author:
    jwells
    • Method Detail

      • isClassAScope

        public boolean isClassAScope​(List<File> searchHeres,
                                     String dotDelimitedName)
        Returns true if it can be determined that this class is a scope
        Parameters:
        searchHere -
        dotDelimitedName -
        Returns:
        true if this class is a scope
      • isClassAQualifier

        public boolean isClassAQualifier​(List<File> searchHeres,
                                         String dotDelimitedName)
        Returns true if it can be determined that this class is a qualifier
        Parameters:
        searchHere -
        dotDelimitedName -
        Returns:
        true if this class is a qualifier
      • isClassAGenerator

        public GenerateMethodAnnotationData isClassAGenerator​(List<File> searchHeres,
                                                              String dotDelimitedName)
        Returns true if it can be determined that this class is a generator
        Parameters:
        searchHere -
        dotDelimitedName -
        Returns:
        true if this class is a qualifier
      • getAssociatedContracts

        public Set<String> getAssociatedContracts​(List<File> searchHeres,
                                                  String dotDelimitedName)
        Gets the contracts associated with the name passed in
        Parameters:
        searchHere -
        dotDelimitedName -
        Returns:
        The set of contracts associated with this dotDelimited name (ordered iterator)
      • getMetadataKey

        public String getMetadataKey​(String scopeOrQualifier,
                                     String methodName)
      • close

        public void close()