Searched refs:enclosingClassName (Results 1 – 7 of 7) sorted by relevance
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ClassName.java | 39 final ClassName enclosingClassName; field in ClassName 47 private ClassName(String packageName, ClassName enclosingClassName, String simpleName) { in ClassName() argument 48 this(packageName, enclosingClassName, simpleName, Collections.emptyList()); in ClassName() 51 private ClassName(String packageName, ClassName enclosingClassName, String simpleName, in ClassName() argument 55 this.enclosingClassName = enclosingClassName; in ClassName() 57 this.canonicalName = enclosingClassName != null in ClassName() 58 ? (enclosingClassName.canonicalName + '.' + simpleName) in ClassName() 63 return new ClassName(packageName, enclosingClassName, simpleName, in annotated() 69 ClassName resultEnclosingClassName = enclosingClassName != null in withoutAnnotations() 70 ? enclosingClassName.withoutAnnotations() in withoutAnnotations() [all …]
|
D | CodeWriter.java | 359 for (ClassName c = className; c != null; c = c.enclosingClassName()) { in lookupName()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | EnclosingMethodAttributeTestCase.java | 46 final String enclosingClassName = em.getEnclosingClass().getBytes(pool); in testCheckMethodLevelNamedInnerClass() local 50 + enclosingClassName, enclosingClassName in testCheckMethodLevelNamedInnerClass() 69 final String enclosingClassName = em.getEnclosingClass().getBytes(pool); in testCheckClassLevelNamedInnerClass() local 76 + enclosingClassName, enclosingClassName in testCheckClassLevelNamedInnerClass() 99 final String enclosingClassName = em.getEnclosingClass().getBytes(pool); in testAttributeSerializtion() local 106 + enclosingClassName, enclosingClassName in testAttributeSerializtion()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | JavaWriter.java | 144 && !className.enclosingClassName().isPresent()) in write() 152 importCandidate = importCandidate.get().enclosingClassName(); in write() 225 Optional<ClassName> enclosingClassName = className.enclosingClassName(); in sourceReferenceForClassName() local 226 while (enclosingClassName.isPresent()) { in sourceReferenceForClassName() 227 if (isImported(enclosingClassName.get())) { in sourceReferenceForClassName() 228 return enclosingClassName.get().simpleName() in sourceReferenceForClassName() 230 .substring(enclosingClassName.get().canonicalName().length()); in sourceReferenceForClassName() 232 enclosingClassName = enclosingClassName.get().enclosingClassName(); in sourceReferenceForClassName() 253 && !className.enclosingClassName().isPresent() in isImported()
|
D | ClassName.java | 72 public Optional<ClassName> enclosingClassName() { in enclosingClassName() method in ClassName
|
/external/proguard/src/proguard/classfile/util/ |
D | ClassReferenceInitializer.java | 281 String enclosingClassName = enclosingMethodAttribute.getClassName(clazz); in visitEnclosingMethodAttribute() local 285 findClass(className, enclosingClassName); in visitEnclosingMethodAttribute() 304 enclosingClassName, in visitEnclosingMethodAttribute() 308 … ClassUtil.externalFullMethodDescription(enclosingClassName, 0, name, type) + in visitEnclosingMethodAttribute() 310 … ClassUtil.externalClassName(enclosingClassName)); in visitEnclosingMethodAttribute()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | SourceFiles.java | 196 ClassName enclosingClassName = ClassName.fromTypeElement(contribution.bindingTypeElement()); in generatedClassNameForBinding() local 202 return enclosingClassName in generatedClassNameForBinding() 205 enclosingClassName.classFileName() in generatedClassNameForBinding()
|