com.google.inject.grapher
Interface NameFactory

All Known Implementing Classes:
ShortNameFactory

public interface NameFactory

Interface for a service that provides nice Strings that we can display in the graph for the types that come up in Bindings.

Author:
phopkins@gmail.com (Pete Hopkins)

Method Summary
 String getAnnotationName(Key<?> key)
           
 String getClassName(Key<?> key)
           
 String getInstanceName(Object instance)
           
 String getMemberName(Member member)
           
 String getSourceName(Object source)
           
 

Method Detail

getMemberName

String getMemberName(Member member)

getClassName

String getClassName(Key<?> key)

getInstanceName

String getInstanceName(Object instance)

getAnnotationName

String getAnnotationName(Key<?> key)

getSourceName

String getSourceName(Object source)


Copyright © 2006-2011 Google, Inc.. All Rights Reserved.