Home
last modified time | relevance | path

Searched refs:nameFactory (Results 1 – 7 of 7) sorted by relevance

/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java68 private NameFactory nameFactory; field in ShortNameFactoryTest
74 nameFactory = new ShortNameFactory(); in setUp()
79 assertEquals("field", nameFactory.getMemberName(field)); in testGetMemberName_field()
84 assertEquals("#method(...)", nameFactory.getMemberName(method)); in testGetMemberName_method()
89 assertEquals("<init>", nameFactory.getMemberName(constructor)); in testGetMemberName_constructor()
94 assertEquals("@Annotated", nameFactory.getAnnotationName(key)); in testGetAnnotationName_annotationType()
100 assertEquals("@Annotated", nameFactory.getAnnotationName(key)); in testGetAnnotationName_annotationInstance()
105 assertEquals("@Named(value=name)", nameFactory.getAnnotationName(key)); in testGetAnnotationName_annotationInstanceWithParameters()
111 "ShortNameFactoryTest$Obj", nameFactory.getClassName(key)); in testGetClassName_key()
117 "Provider<String>", nameFactory.getClassName(key)); in testGetClassName_keyWithTypeParameters()
[all …]
/external/proguard/src/proguard/obfuscate/
DDictionaryNameFactory.java39 private final NameFactory nameFactory; field in DictionaryNameFactory
51 NameFactory nameFactory) throws IOException in DictionaryNameFactory() argument
54 this.nameFactory = nameFactory; in DictionaryNameFactory()
131 NameFactory nameFactory) in DictionaryNameFactory() argument
134 this.nameFactory = nameFactory; in DictionaryNameFactory()
144 nameFactory.reset(); in reset()
163 name = nameFactory.nextName(); in nextName()
DNameFactoryResetter.java34 private final NameFactory nameFactory; field in NameFactoryResetter
41 public NameFactoryResetter(NameFactory nameFactory) in NameFactoryResetter() argument
43 this.nameFactory = nameFactory; in NameFactoryResetter()
51 nameFactory.reset(); in visitProgramClass()
57 nameFactory.reset(); in visitLibraryClass()
DSpecialNameFactory.java34 private final NameFactory nameFactory; field in SpecialNameFactory
42 public SpecialNameFactory(NameFactory nameFactory) in SpecialNameFactory() argument
44 this.nameFactory = nameFactory; in SpecialNameFactory()
52 nameFactory.reset(); in reset()
58 return nameFactory.nextName() + SPECIAL_SUFFIX; in nextName()
DMemberObfuscator.java45 private final NameFactory nameFactory; field in MemberObfuscator
59 NameFactory nameFactory, in MemberObfuscator() argument
63 this.nameFactory = nameFactory; in MemberObfuscator()
101 nameFactory.reset(); in visitAnyMember()
105 newName = nameFactory.nextName(); in visitAnyMember()
DObfuscator.java201 NameFactory nameFactory = new SimpleNameFactory(); in execute() local
205 nameFactory = new DictionaryNameFactory(configuration.obfuscationDictionary, in execute()
206 nameFactory); in execute()
227 nameFactory, in execute()
255 nameFactory, in execute()
295 nameFactory, in execute()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java52 private final NameFactory nameFactory; field in GraphvizGrapher
58 @Inject GraphvizGrapher(@Graphviz NameFactory nameFactory, in GraphvizGrapher() argument
60 this.nameFactory = nameFactory; in GraphvizGrapher()
245 gnode.setTitle(nameFactory.getClassName(key)); in newInterfaceNode()
246 gnode.addSubtitle(0, nameFactory.getAnnotationName(key)); in newInterfaceNode()
257 gnode.setTitle(nameFactory.getClassName(nodeId.getKey())); in newImplementationNode()
260 gnode.addField(portIdFactory.getPortId(member), nameFactory.getMemberName(member)); in newImplementationNode()
273 gnode.setTitle(nameFactory.getClassName(nodeId.getKey())); in newInstanceNode()
275 gnode.addSubtitle(0, nameFactory.getSourceName(node.getSource())); in newInstanceNode()
279 gnode.setTitle(nameFactory.getInstanceName(node.getInstance())); in newInstanceNode()
[all …]