OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:smaliClass
(Results
1 - 13
of
13
) sorted by null
/external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliClassTest.java
49
import org.jf.smalidea.psi.impl.
SmaliClass
;
58
SmaliClass
smaliClass
= file.getPsiClass();
59
Assert.assertEquals("my.pkg.blah",
smaliClass
.getQualifiedName());
60
Assert.assertEquals("my.pkg",
smaliClass
.getPackageName());
61
Assert.assertEquals("blah",
smaliClass
.getName());
68
SmaliClass
smaliClass
= file.getPsiClass();
69
Assert.assertEquals("blah",
smaliClass
.getQualifiedName());
70
Assert.assertEquals("",
smaliClass
.getPackageName())
[
all
...]
SmaliFieldTest.java
39
import org.jf.smalidea.psi.impl.
SmaliClass
;
51
SmaliClass
smaliClass
= file.getPsiClass();
52
Assert.assertEquals("my.pkg.blah",
smaliClass
.getQualifiedName());
54
SmaliField[] fields =
smaliClass
.getFields();
70
PsiField[] psifields =
smaliClass
.getAllFields();
74
PsiField field =
smaliClass
.findFieldByName("myField", true);
78
field =
smaliClass
.findFieldByName("nonExistantField", true);
80
field =
smaliClass
.findFieldByName("nonExistantField", false);
93
SmaliClass
smaliClass = file.getPsiClass()
[
all
...]
SmaliImplementsExtendsTest.java
36
import org.jf.smalidea.psi.impl.
SmaliClass
;
55
SmaliClass
smaliClass
= file.getPsiClass();
56
SmaliExtendsList extendsList =
smaliClass
.getExtendsList();
61
Assert.assertEquals(1,
smaliClass
.getExtendsListTypes().length);
62
Assert.assertEquals("my.pkg.base",
smaliClass
.getExtendsListTypes()[0].getCanonicalText());
68
SmaliImplementsList implementsList =
smaliClass
.getImplementsList();
75
Assert.assertEquals(2,
smaliClass
.getImplementsListTypes().length);
76
Assert.assertEquals("my.pkg.iface",
smaliClass
.getImplementsListTypes()[0].getCanonicalText());
77
Assert.assertEquals("my.pkg.iface2",
smaliClass
.getImplementsListTypes()[1].getCanonicalText())
[
all
...]
SmaliFileTest.java
35
import org.jf.smalidea.psi.impl.
SmaliClass
;
46
SmaliClass
smaliClass
= file.getPsiClass();
47
Assert.assertNotNull(
smaliClass
);
49
SmaliClass
[] smaliClasses = file.getClasses();
52
Assert.assertEquals(
smaliClass
, smaliClasses[0]);
ClassReferenceTest.java
40
import org.jf.smalidea.psi.impl.
SmaliClass
;
80
SmaliClass
smaliClass
= (
SmaliClass
)typeElement.resolve();
81
Assert.assertNotNull(
smaliClass
);
82
Assert.assertEquals("blarg",
smaliClass
.getQualifiedName());
103
SmaliClass
smaliClass
= (
SmaliClass
)reference.resolve();
104
Assert.assertNotNull(
smaliClass
);
[
all
...]
SmaliMethodTest.java
94
SmaliClass
smaliClass
= file.getPsiClass();
95
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0];
134
SmaliClass
smaliClass
= file.getPsiClass();
135
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0];
177
SmaliClass
smaliClass
= file.getPsiClass();
178
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0];
185
smaliMethod =
smaliClass
.getMethods()[1]
[
all
...]
SmaliAnnotationTest.java
36
import org.jf.smalidea.psi.impl.
SmaliClass
;
80
SmaliClass
smaliClass
= file.getPsiClass();
81
Assert.assertEquals("my.pkg.blah",
smaliClass
.getQualifiedName());
83
doTest(
smaliClass
);
122
SmaliClass
smaliClass
= file.getPsiClass();
123
Assert.assertEquals("my.pkg.blah",
smaliClass
.getQualifiedName());
125
PsiField field =
smaliClass
.findFieldByName("myField", false);
165
SmaliClass
smaliClass = file.getPsiClass()
[
all
...]
SmaliClassModifierListTest.java
39
import org.jf.smalidea.psi.impl.
SmaliClass
;
50
SmaliClass
smaliClass
= file.getPsiClass();
51
SmaliModifierList modifierList =
smaliClass
.getModifierList();
84
SmaliClass
smaliClass
= file.getPsiClass();
85
SmaliModifierList modifierList =
smaliClass
.getModifierList();
146
SmaliClass
smaliClass
= file.getPsiClass();
147
SmaliModifierList modifierList =
smaliClass
.getModifierList()
[
all
...]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
SmaliFile.java
56
public
SmaliClass
getPsiClass() {
59
StubElement<
SmaliClass
> classElement = stub.findChildStubByType(SmaliElementTypes.CLASS);
66
return findChildByClass(
SmaliClass
.class);
70
@NotNull @Override public
SmaliClass
[] getClasses() {
71
SmaliClass
smaliClass
= getPsiClass();
72
if (
smaliClass
== null) {
73
return new
SmaliClass
[] {};
75
return new
SmaliClass
[] {
smaliClass
};
[
all
...]
SmaliExtendsList.java
52
if (((
SmaliClass
)getParent()).isInterface()) {
60
SmaliClass
smaliClass
= getStubOrPsiParentOfType(
SmaliClass
.class);
61
assert
smaliClass
!= null;
63
SmaliImplementsStatement[] implementsStatements =
smaliClass
.getImplementsStatements();
80
SmaliClass
smaliClass
= getStubOrPsiParentOfType(
SmaliClass
.class);
81
assert
smaliClass
!= null
[
all
...]
SmaliImplementsList.java
52
if (!((
SmaliClass
)getParent()).isInterface()) {
59
SmaliClass
smaliClass
= (
SmaliClass
)getStubOrPsiParent();
60
assert
smaliClass
!= null;
62
SmaliImplementsStatement[] implementsStatements =
smaliClass
.getImplementsStatements();
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
SmaliPositionManager.java
47
import org.jf.smalidea.psi.impl.
SmaliClass
;
65
Collection<
SmaliClass
> classes = SmaliClassNameIndex.INSTANCE.get(declaringType,
69
SmaliClass
smaliClass
= classes.iterator().next();
72
for (SmaliMethod smaliMethod:
smaliClass
.getMethods()) {
107
SmaliClass
smaliClass
= ((SmaliFile)position.getElementAt().getContainingFile()).getPsiClass();
108
if (
smaliClass
== null) {
111
return
smaliClass
.getQualifiedName();
129
Collection<
SmaliClass
> classes = SmaliClassNameIndex.INSTANCE.get(typeName, debugProcess.getProject()
[
all
...]
/external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
SmalideaMethodTest.java
48
import org.jf.smalidea.psi.impl.
SmaliClass
;
91
SmaliClass
smaliClass
= file.getPsiClass();
92
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0];
345
SmaliClass
smaliClass
= file.getPsiClass();
346
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0];
417
SmaliClass
smaliClass
= file.getPsiClass();
418
SmaliMethod smaliMethod =
smaliClass
.getMethods()[0]
[
all
...]
Completed in 126 milliseconds