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
303
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libgdx/gdx/src/com/badlogic/gdx/utils/reflect/
Constructor.java
37
public Class
getDeclaringClass
() {
38
return constructor.
getDeclaringClass
();
55
throw new ReflectionException("Illegal argument(s) supplied to constructor for class: " +
getDeclaringClass
().getName(),
58
throw new ReflectionException("Could not instantiate instance of class: " +
getDeclaringClass
().getName(), e);
60
throw new ReflectionException("Could not instantiate instance of class: " +
getDeclaringClass
().getName(), e);
62
throw new ReflectionException("Exception occurred in constructor for class: " +
getDeclaringClass
().getName(), e);
/cts/tools/dex-tools/src/dex/structure/
DexField.java
32
DexClass
getDeclaringClass
();
DexMethod.java
37
public DexClass
getDeclaringClass
();
/libcore/ojluni/src/main/java/java/lang/reflect/
Member.java
63
public Class<?>
getDeclaringClass
();
Constructor.java
85
public Class<T>
getDeclaringClass
() {
86
return (Class<T>) super.
getDeclaringClass
();
94
return
getDeclaringClass
().getName();
221
if (
getDeclaringClass
() == other.
getDeclaringClass
()) {
244
return
getDeclaringClass
().getName().hashCode();
269
sb.append(Field.getTypeName(
getDeclaringClass
()));
347
sb.append(Field.getTypeName(
getDeclaringClass
()));
Method.java
95
public Class<?>
getDeclaringClass
() {
96
return super.
getDeclaringClass
();
274
if ((
getDeclaringClass
() == other.
getDeclaringClass
())
299
return
getDeclaringClass
().getName().hashCode() ^ getName().hashCode();
332
sb.append(Field.getTypeName(
getDeclaringClass
())).append('.');
421
sb.append(Field.getTypeName(
getDeclaringClass
())).append('.');
/external/testng/src/main/java/org/testng/internal/
ObjectFactoryImpl.java
32
return ClassHelper.tryOtherConstructor(constructor.
getDeclaringClass
());
35
return ClassHelper.tryOtherConstructor(constructor.
getDeclaringClass
());
40
? constructor.
getDeclaringClass
().getName()
ConstructorOrMethod.java
25
public Class<?>
getDeclaringClass
() {
26
return getMethod() != null ? getMethod().
getDeclaringClass
() : getConstructor().
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
50
assertEquals(InterfaceA.class, Sub.class.getMethod("a").
getDeclaringClass
());
54
assertEquals(InterfaceA.class, ImplementsC.class.getMethod("a").
getDeclaringClass
());
55
assertEquals(InterfaceA.class, ExtendsImplementsC.class.getMethod("a").
getDeclaringClass
());
60
ImplementsC.class.getDeclaredMethod("a").
getDeclaringClass
();
65
ExtendsImplementsC.class.getDeclaredMethod("a").
getDeclaringClass
();
132
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
141
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
162
assertEquals(anonymous.getClass(), method.
getDeclaringClass
());
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/reflect/
Constructor.java
42
public Class
getDeclaringClass
() {
60
throw new ReflectionException("Illegal argument(s) supplied to constructor for class: " +
getDeclaringClass
().getName(),
Field.java
42
public Class
getDeclaringClass
() {
146
throw new ReflectionException("Could not get " +
getDeclaringClass
() + "#" + getName() + ": " + e.getMessage(), e);
157
throw new ReflectionException("Could not set " +
getDeclaringClass
() + "#" + getName() + ": " + e.getMessage(), e);
/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);
/external/guice/core/src/com/google/inject/internal/util/
Classes.java
50
return member.
getDeclaringClass
().getName() + "." + member.getName() + "()";
52
return member.
getDeclaringClass
().getName() + "." + member.getName();
54
return member.
getDeclaringClass
().getName() + ".<init>()";
/art/test/085-old-style-inner-class/src/
Main.java
43
"
getDeclaringClass
(): " +
44
nameOf(clazz.
getDeclaringClass
()) + "\n" +
/libcore/ojluni/src/lambda/java/java/lang/invoke/
MethodHandleInfo.java
45
public Class<?>
getDeclaringClass
();
/external/guava/guava/src/com/google/common/reflect/
Invokable.java
163
@Override public final Class<? super T>
getDeclaringClass
() {
164
return (Class<? super T>) super.
getDeclaringClass
();
171
return (TypeToken<T>) TypeToken.of(
getDeclaringClass
());
222
|| Modifier.isFinal(
getDeclaringClass
().getModifiers()));
250
Class<?> declaringClass =
getDeclaringClass
();
264
&& rawParamTypes[0] ==
getDeclaringClass
().getEnclosingClass()) {
290
TypeVariable<?>[] declaredByClass =
getDeclaringClass
().getTypeParameters();
311
Class<?> declaringClass = constructor.
getDeclaringClass
();
Element.java
49
return TypeToken.of(
getDeclaringClass
());
76
@Override public Class<?>
getDeclaringClass
() {
77
return member.
getDeclaringClass
();
/external/testng/src/test/java/test/dataprovider/
MethodTest.java
14
Assert.assertEquals("test.dataprovider.MethodTest", m.
getDeclaringClass
().getName());
38
Assert.assertEquals("test.dataprovider.MethodTest", m.
getDeclaringClass
().getName());
/libcore/ojluni/src/main/java/java/util/
EnumSet.java
203
EnumSet<E> result = noneOf(e.
getDeclaringClass
());
223
EnumSet<E> result = noneOf(e1.
getDeclaringClass
());
245
EnumSet<E> result = noneOf(e1.
getDeclaringClass
());
269
EnumSet<E> result = noneOf(e1.
getDeclaringClass
());
297
EnumSet<E> result = noneOf(e1.
getDeclaringClass
());
321
EnumSet<E> result = noneOf(first.
getDeclaringClass
());
344
EnumSet<E> result = noneOf(from.
getDeclaringClass
());
/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);
/libcore/ojluni/src/main/java/java/lang/
Enum.java
184
self.
getDeclaringClass
() != other.
getDeclaringClass
())
193
* e1.
getDeclaringClass
() == e2.
getDeclaringClass
().
201
public final Class<E>
getDeclaringClass
() {
/external/droiddriver/src/io/appium/droiddriver/helpers/
D2ActivityInstrumentationTestCase2.java
52
final Class<?> fieldClass = field.
getDeclaringClass
();
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
VisibilityPredicate.java
40
return pkg.equals(TypeUtils.getPackageName(Type.getType(((Member)arg).
getDeclaringClass
())));
Completed in 1114 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>