OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDeclaringClass
(Results
1 - 25
of
136
) sorted by null
1
2
3
4
5
6
/cts/tools/dex-tools/src/dex/structure/
DexField.java
32
DexClass
getDeclaringClass
();
DexMethod.java
37
public DexClass
getDeclaringClass
();
/cts/tools/signature-tools/src/signature/model/
IGenericDeclaration.java
40
IClassDefinition
getDeclaringClass
();
/libcore/luni/src/main/java/java/lang/reflect/
Member.java
47
Class<?>
getDeclaringClass
();
/libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodOverridesTest.java
42
assertEquals(StringBuilder.class, method.
getDeclaringClass
());
66
assertEquals(Sub.class, Sub.class.getMethod("unchanged").
getDeclaringClass
());
67
assertEquals(Sub.class, Sub.class.getDeclaredMethod("unchanged").
getDeclaringClass
());
74
assertEquals(Sub.class, Sub.class.getMethod("thrower").
getDeclaringClass
());
83
assertEquals(Sub.class, method.
getDeclaringClass
());
93
assertEquals(Sub.class, method.
getDeclaringClass
());
102
assertEquals(Sub.class, method.
getDeclaringClass
());
110
assertEquals(Sub.class, method.
getDeclaringClass
());
119
assertEquals(PublicSub.class, method.
getDeclaringClass
());
127
assertEquals(PublicSub.class, method.
getDeclaringClass
());
[
all
...]
MethodTest.java
85
assertEquals(InterfaceA.class, Sub.class.getMethod("a").
getDeclaringClass
());
89
assertEquals(InterfaceA.class, ImplementsC.class.getMethod("a").
getDeclaringClass
());
90
assertEquals(InterfaceA.class, ExtendsImplementsC.class.getMethod("a").
getDeclaringClass
());
95
ImplementsC.class.getDeclaredMethod("a").
getDeclaringClass
();
100
ExtendsImplementsC.class.getDeclaredMethod("a").
getDeclaringClass
();
167
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
176
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
197
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
/external/mockito/src/org/mockito/internal/util/
ObjectMethodsGuru.java
39
return Comparable.class.isAssignableFrom(method.
getDeclaringClass
())
42
&& method.getParameterTypes()[0] == method.
getDeclaringClass
();
/libcore/luni/src/test/java/libcore/java/lang/
OldAndroidEnumTest.java
46
assertSame(MyEnum.ONE.
getDeclaringClass
(), MyEnum.class);
47
assertSame(MyEnum.FOUR.
getDeclaringClass
(), MyEnum.class);
/libcore/libart/src/main/java/java/lang/reflect/
Constructor.java
89
return
getDeclaringClass
().getName();
95
@Override public Class<T>
getDeclaringClass
() {
96
return (Class<T>) super.
getDeclaringClass
();
121
* <p>Equivalent to {@code
getDeclaringClass
().getName().hashCode()}.
124
return
getDeclaringClass
().getName().hashCode();
314
result.append(
getDeclaringClass
().getName());
Field.java
64
Class<?> aType = a.
getDeclaringClass
();
65
Class<?> bType = b.
getDeclaringClass
();
125
@Override public Class<?>
getDeclaringClass
() {
126
return artField.
getDeclaringClass
();
159
* <p>Equivalent to {@code
getDeclaringClass
().getName().hashCode() ^ getName().hashCode()}.
162
return
getDeclaringClass
().getName().hashCode() ^ getName().hashCode();
194
sb.append(
getDeclaringClass
().getName()).append('.').append(getName());
212
Class<?> declaringClass =
getDeclaringClass
();
[
all
...]
ArtMethod.java
80
Class
getDeclaringClass
() {
94
Dex dex = artMethod.
getDeclaringClass
().getDex();
106
Dex dex = artMethod.
getDeclaringClass
().getDex();
129
Dex dex =
getDeclaringClass
().getDex();
155
Dex dex =
getDeclaringClass
().getDex();
Method.java
145
@Override public Class<?>
getDeclaringClass
() {
146
return super.
getDeclaringClass
();
156
if (
getDeclaringClass
().isProxy()) {
190
* <p>Equivalent to {@code
getDeclaringClass
().getName().hashCode() ^ getName().hashCode()}.
193
return
getDeclaringClass
().getName().hashCode() ^ getName().hashCode();
403
result.append(
getDeclaringClass
().getName());
ArtField.java
80
Class<?>
getDeclaringClass
() {
/art/test/085-old-style-inner-class/src/
Main.java
43
"
getDeclaringClass
(): " +
44
nameOf(clazz.
getDeclaringClass
()) + "\n" +
/art/test/JniTest/
JniTest.java
65
if (m.
getDeclaringClass
() != testGetMirandaMethod_MirandaInterface.class) {
/dalvik/tests/085-old-style-inner-class/src/
Main.java
43
"
getDeclaringClass
(): " +
44
nameOf(clazz.
getDeclaringClass
()) + "\n" +
/external/javassist/src/main/javassist/convert/
TransformCall.java
38
classname = origMethod.
getDeclaringClass
().getName();
47
classname = newClassname = substMethod.
getDeclaringClass
().getName();
93
return m.
getDeclaringClass
().getName().equals(classname);
TransformReadField.java
35
this.fieldClass = field.
getDeclaringClass
();
62
return f.
getDeclaringClass
() == fclass;
/frameworks/base/test-runner/src/android/test/
ActivityTestCase.java
65
final Class<?> fieldClass = field.
getDeclaringClass
();
/external/junit/src/org/junit/internal/runners/
MethodValidator.java
77
if (!Modifier.isPublic(each.
getDeclaringClass
().getModifiers()))
78
fErrors.add(new Exception("Class " + each.
getDeclaringClass
().getName()
/cts/tools/signature-tools/src/signature/model/impl/
SigParameterizedType.java
44
if (rawType.getClassDefinition().
getDeclaringClass
() != null) {
46
.getClassDefinition().
getDeclaringClass
());
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EnumBiMap.java
84
return map.keySet().iterator().next().
getDeclaringClass
();
92
return map.values().iterator().next().
getDeclaringClass
();
/external/junit/src/org/junit/runners/model/
FrameworkMethod.java
86
if (!Modifier.isPublic(fMethod.
getDeclaringClass
().getModifiers()))
87
errors.add(new Exception("Class " + fMethod.
getDeclaringClass
().getName() + " should be public"));
/libcore/luni/src/main/java/libcore/reflect/
TypeVariableImpl.java
93
return ((Method)decl).
getDeclaringClass
();
95
return ((Constructor)decl).
getDeclaringClass
();
/cts/tools/signature-tools/src/signature/compare/model/subst/
ExecutableMemberProjection.java
47
public IClassDefinition
getDeclaringClass
() {
Completed in 311 milliseconds
1
2
3
4
5
6