org.jvnet.hk2.generator.internal
Class Utilities

java.lang.Object
  extended by org.jvnet.hk2.generator.internal.Utilities

public class Utilities
extends Object

Author:
jwells

Method Summary
 Set<String> getAssociatedContracts(File searchHere, String dotDelimitedName)
          Gets the contracts associated with the name passed in
 String getMetadataKey(String scopeOrQualifier, String methodName)
           
 GenerateMethodAnnotationData isClassAGenerator(File searchHere, String dotDelimitedName)
          Returns true if it can be determined that this class is a generator
 boolean isClassAQualifier(File searchHere, String dotDelimitedName)
          Returns true if it can be determined that this class is a qualifier
 boolean isClassAScope(File searchHere, String dotDelimitedName)
          Returns true if it can be determined that this class is a scope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isClassAScope

public boolean isClassAScope(File searchHere,
                             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(File searchHere,
                                 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(File searchHere,
                                                      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(File searchHere,
                                          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)


Copyright © 2013 Oracle Corporation. All Rights Reserved.