Home
last modified time | relevance | path

Searched refs:psiClass (Results 1 – 9 of 9) sorted by relevance

/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DNameUtils.java60 PsiClass psiClass = ((PsiClassType)psiType).resolve(); in javaToSmaliType() local
61 if (psiClass != null) { in javaToSmaliType()
62 return javaToSmaliType(psiClass); in javaToSmaliType()
69 public static String javaToSmaliType(@NotNull PsiClass psiClass) { in javaToSmaliType() argument
70 String qualifiedName = psiClass.getQualifiedName(); in javaToSmaliType()
74 PsiClass parent = psiClass.getContainingClass(); in javaToSmaliType()
80 assert className.equals(psiClass.getName()); in javaToSmaliType()
83 return javaToSmaliType(psiClass.getQualifiedName()); in javaToSmaliType()
141 PsiClass psiClass = facade.findClass(javaType, scope); in resolveSmaliType() local
142 if (psiClass != null) { in resolveSmaliType()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaClassDef.java58 private final PsiClass psiClass; field in SmalideaClassDef
60 public SmalideaClassDef(PsiClass psiClass) { in SmalideaClassDef() argument
61 this.psiClass = psiClass; in SmalideaClassDef()
65 PsiModifierList modifierList = psiClass.getModifierList(); in getAccessFlags()
84 if (psiClass.isInterface()) { in getAccessFlags()
88 if (psiClass.isEnum()) { in getAccessFlags()
92 if (psiClass.isAnnotationType()) { in getAccessFlags()
100 return NameUtils.javaToSmaliType(psiClass); in getType()
104 PsiClass superClass = psiClass.getSuperClass(); in getSuperclass()
113 PsiClass[] interfaces = psiClass.getInterfaces(); in getInterfaces()
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DClassReferenceTest.java56 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmali() local
57 Assert.assertNotNull(psiClass); in testJavaReferenceFromSmali()
58 Assert.assertEquals("java.lang.Object", psiClass.getQualifiedName()); in testJavaReferenceFromSmali()
82 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmaliInDumbMode() local
83 Assert.assertNull(psiClass); in testJavaReferenceFromSmaliInDumbMode()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/analysis/
DSmalideaClassProvider.java26 …PsiClass psiClass = NameUtils.resolveSmaliType(project, manager.getDefaultResolveScope(file), type… in getClassDef() local
27 if (psiClass != null) { in getClassDef()
28 return new SmalideaClassDef(psiClass); in getClassDef()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassType.java142 PsiClass psiClass = resolve();
143 if (psiClass != null) {
144 String qualifiedName = psiClass.getQualifiedName();
DSmaliClassTypeElement.java162 PsiClass psiClass = resolve(); in getQualifiedName() local
163 if (psiClass != null) { in getQualifiedName()
164 return psiClass.getQualifiedName(); in getQualifiedName()
/external/dokka/core/src/main/kotlin/Analysis/
DJavaResolveExtension.kt52 val psiClass = originalElement as? PsiClass ?: return null in getJavaClassDescriptor() constant
53 … return psiClass.getJavaDescriptorResolver(resolutionFacade)?.resolveClass(JavaClassImpl(psiClass)) in getJavaClassDescriptor()
/external/dokka/core/src/main/kotlin/Model/
DPackageDocs.kt83 val psiClass = PsiTreeUtil.getChildOfType(psiFile, PsiClass::class.java)!! in <lambda>() constant
86 val content = parser.parseDocumentation(psiClass).content in <lambda>()
/external/dokka/core/src/main/kotlin/Java/
DJavaPsiDocumentationBuilder.kt249 val psiClass = resolve() in appendFile() constant
250 return psiClass?.qualifiedName == qName in appendFile()