/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/index/ |
D | SmaliClassFinder.java | 35 import com.intellij.psi.PsiClass; 52 public PsiClass findClass(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { in findClass() 62 public PsiClass[] findClasses(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { in findClasses() 63 PsiClass cls = findClass(qualifiedName, scope); in findClasses() 65 return new PsiClass[] {cls}; in findClasses() 67 return PsiClass.EMPTY_ARRAY; in findClasses()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | ClassReferenceTest.java | 38 import com.intellij.psi.PsiClass; 56 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmali() 62 …Assert.assertEquals("java.lang.Object", ((PsiClass)resolveResult.getElement()).getQualifiedName()); in testJavaReferenceFromSmali() 67 …Assert.assertEquals("java.lang.Object", ((PsiClass)resolveResults[0].getElement()).getQualifiedNam… in testJavaReferenceFromSmali() 82 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmaliInDumbMode() 105 Assert.assertEquals("blarg", ((PsiClass)resolveResult.getElement()).getQualifiedName()); in testSmaliReferenceFromSmali() 110 Assert.assertEquals("blarg", ((PsiClass)resolveResults[0].getElement()).getQualifiedName()); in testSmaliReferenceFromSmali()
|
D | SmaliClassTest.java | 42 import com.intellij.psi.PsiClass; 85 PsiClass superClass = smaliClass.getSuperClass(); in testGetSuperclass() 110 PsiClass superClass = smaliClass.getSuperClass(); in testGetSuperclassForInterface() 133 PsiClass throwableClass = throwableType.resolve(); in testIsInheritor() 137 PsiClass exceptionClass = exceptionType.resolve(); in testIsInheritor() 141 PsiClass objectClass = objectType.resolve(); in testIsInheritor()
|
D | ClassMoveTest.java | 5 import com.intellij.psi.PsiClass; 45 …final PsiClass testClass = myJavaFacade.findClass(oldQualifiedName, GlobalSearchScope.allScope(get… in doMove() 50 new MoveClassesOrPackagesProcessor(getProject(), new PsiClass[] {testClass}, in doMove()
|
D | SmaliImplementsExtendsTest.java | 34 import com.intellij.psi.PsiClass; 64 PsiClass resolvedSuper = extendsList.getReferencedTypes()[0].resolve(); in testNormalClass() 79 PsiClass resolvedInterface = implementsList.getReferencedTypes()[0].resolve(); in testNormalClass() 111 PsiClass resolvedInterface = extendsList.getReferencedTypes()[0].resolve(); in testInterface()
|
D | ClassRenameTest.java | 5 import com.intellij.psi.PsiClass; 42 …PsiClass testClass = myJavaFacade.findClass(oldQualifiedName, GlobalSearchScope.allScope(getProjec… in doRename()
|
D | FieldRenameTest.java | 5 import com.intellij.psi.PsiClass; 40 …PsiClass testClass = myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject… in doRename()
|
D | MethodRenameTest.java | 5 import com.intellij.psi.PsiClass; 40 …PsiClass testClass = myJavaFacade.findClass(containingClass, GlobalSearchScope.allScope(getProject… in doRename()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliClassTypeElement.java | 89 @Nullable @Override public PsiClass resolve() { in resolve() 111 if (element instanceof PsiClass) { in bindToElement() 112 handleElementRename(((PsiClass) element).getQualifiedName()); in bindToElement() 119 if (!(element instanceof PsiClass)) { in isReferenceTo() 162 PsiClass psiClass = resolve(); in getQualifiedName() 170 PsiClass element = resolve(); in advancedResolve() 178 PsiClass element = resolve(); in multiResolve()
|
D | SmaliClassType.java | 56 public PsiClass resolve() { in resolve() 62 if (resolved instanceof PsiClass) { in resolve() 63 return (PsiClass)resolved; in resolve() 70 PsiClass resolved = resolve(); in getClassName() 90 public PsiClass getElement() { in resolveGenerics() 142 PsiClass psiClass = resolve();
|
D | SmaliClass.java | 68 public class SmaliClass extends SmaliStubBasedPsiElement<SmaliClassStub> implements PsiClass, Smali… 156 @Nullable @Override public PsiClass getSuperClass() { in getSuperClass() 160 @Override public PsiClass[] getInterfaces() { in getInterfaces() 164 @NotNull @Override public PsiClass[] getSupers() { in getSupers() 198 @NotNull @Override public PsiClass[] getInnerClasses() { in getInnerClasses() 199 return new PsiClass[0]; in getInnerClasses() 215 @NotNull @Override public PsiClass[] getAllInnerClasses() { in getAllInnerClasses() 216 return new PsiClass[0]; in getAllInnerClasses() 244 …@Nullable @Override public PsiClass findInnerClassByName(@NonNls String name, boolean checkBases) { in findInnerClassByName() 272 @Override public boolean isInheritor(@NotNull PsiClass baseClass, boolean checkDeep) { in isInheritor() [all …]
|
D | SmaliFieldReference.java | 35 import com.intellij.psi.PsiClass; 58 public PsiClass getContainingClass() { in getContainingClass() 63 PsiClass containingClass = containingClassReference.resolve(); in getContainingClass() 113 PsiClass containingClass = getContainingClass(); in resolve()
|
D | SmaliMethodReference.java | 36 import com.intellij.psi.PsiClass; 85 public PsiClass getContainingClass() { in getContainingClass() 90 PsiClass containingClass = containingClassReference.resolve(); in getContainingClass() 134 PsiClass containingClass = getContainingClass(); in resolve()
|
D | LightSmaliClassTypeElement.java | 84 @Nullable @Override public PsiClass resolve() { in resolve() 164 PsiClass element = resolve(); in advancedResolve() 172 PsiClass element = resolve(); in multiResolve()
|
D | SmaliField.java | 90 @Nullable @Override public PsiClass getContainingClass() { in getContainingClass() 91 return (PsiClass)getParentByStub(); in getContainingClass()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/ |
D | NameUtils.java | 60 PsiClass psiClass = ((PsiClassType)psiType).resolve(); in javaToSmaliType() 69 public static String javaToSmaliType(@NotNull PsiClass psiClass) { in javaToSmaliType() 74 PsiClass parent = psiClass.getContainingClass(); in javaToSmaliType() 131 …public static PsiClass resolveSmaliType(@NotNull Project project, @NotNull GlobalSearchScope scope, in resolveSmaliType() 141 PsiClass psiClass = facade.findClass(javaType, scope); in resolveSmaliType() 171 … public static PsiClass resolveSmaliType(@NotNull PsiElement element, @NotNull String smaliType) { in resolveSmaliType() 177 …public static PsiClass findInnerClass(@NotNull PsiClass outerClass, String innerText, JavaPsiFacad… in findInnerClass() 187 PsiClass psiClass = facade.findClass(nextInner, scope); in findInnerClass() 233 PsiClass resolvedType = resolveSmaliType(project, scope, smaliType); in resolveSmaliToJavaType() 252 PsiClass resolvedType = resolveSmaliType(element, smaliType); in resolveSmaliToPsiType()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/ |
D | SmalideaClassDef.java | 39 import com.intellij.psi.PsiClass; 58 private final PsiClass psiClass; 60 public SmalideaClassDef(PsiClass psiClass) { in SmalideaClassDef() 104 PsiClass superClass = psiClass.getSuperClass(); in getSuperclass() 113 PsiClass[] interfaces = psiClass.getInterfaces(); in getInterfaces() 118 for (PsiClass psiClass: interfaces) { in getInterfaces()
|
D | SmalideaField.java | 35 import com.intellij.psi.PsiClass; 92 PsiClass containingClass = psiField.getContainingClass(); in getDefiningClass()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/ |
D | SmaliClassReferenceSearcher.java | 38 import com.intellij.psi.PsiClass; 54 if (!(element instanceof PsiClass)) { in processQuery() 61 String qualifiedName = ((PsiClass)element).getQualifiedName(); in processQuery() 63 return NameUtils.javaToSmaliType((PsiClass)element); in processQuery()
|
D | SmaliFindUsagesProvider.java | 36 import com.intellij.psi.PsiClass; 43 return element instanceof PsiClass; in canFindUsagesFor()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/analysis/ |
D | SmalideaClassProvider.java | 5 import com.intellij.psi.PsiClass; 26 …PsiClass psiClass = NameUtils.resolveSmaliType(project, manager.getDefaultResolveScope(file), type… in getClassDef()
|
/external/dokka/core/src/main/kotlin/Analysis/ |
D | JavaResolveExtension.kt | 51 fun PsiClass.getJavaClassDescriptor(resolutionFacade: ResolutionFacade = javaResolutionFacade()): C… in getJavaClassDescriptor() method 52 val psiClass = originalElement as? PsiClass ?: return null in getJavaClassDescriptor() 66 is PsiClass -> getJavaClassDescriptor(resolutionFacade) in getJavaMemberDescriptor()
|
/external/dokka/core/src/main/kotlin/Kotlin/ |
D | KotlinAsJavaDocumentationBuilder.kt | 5 import com.intellij.psi.PsiClass 42 fun PsiClass.isVisibleInDocumentation(): Boolean { in PsiClass() method
|
/external/dokka/core/src/main/kotlin/Model/ |
D | PackageDocs.kt | 6 import com.intellij.psi.PsiClass in <lambda>() 83 val psiClass = PsiTreeUtil.getChildOfType(psiFile, PsiClass::class.java)!! in <lambda>()
|
/external/dokka/core/src/main/kotlin/Java/ |
D | JavaPsiDocumentationBuilder.kt | 21 is PsiClass -> element.qualifiedName in <lambda>() 87 fun appendClasses(packageNode: DocumentationNode, classes: Array<PsiClass>) { in appendFile() 205 fun PsiClass.build(): DocumentationNode { in appendFile() method 238 fun PsiClass.isException() = InheritanceUtil.isInheritor(this, "java.lang.Throwable") in appendFile() method
|