Home
last modified time | relevance | path

Searched refs:declaringClass (Results 1 – 24 of 24) sorted by relevance

/external/guice/core/src/com/google/inject/internal/util/
DStackTraceElements.java68 Class declaringClass = member.getDeclaringClass(); in forMember() local
71 LineNumbers lineNumbers = lineNumbersCache.getUnchecked(declaringClass); in forMember()
83 return new StackTraceElement(declaringClass.getName(), memberName, fileName, lineNumber); in forMember()
132 String declaringClass = inMemoryStackTraceElements[i].getClassName(); in convertToStackTraceElement() local
136 new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber); in convertToStackTraceElement()
167 private String declaringClass; field in StackTraceElements.InMemoryStackTraceElement
175 InMemoryStackTraceElement(String declaringClass, String methodName, int lineNumber) { in InMemoryStackTraceElement() argument
176 this.declaringClass = declaringClass; in InMemoryStackTraceElement()
182 return declaringClass; in getClassName()
202 return e.declaringClass.equals(declaringClass) in equals()
[all …]
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java19 private final Class<?> declaringClass; field in SerializableMethod
31 declaringClass = method.getDeclaringClass(); in SerializableMethod()
69 method = declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod()
74 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
79 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
98 if (declaringClass == null) { in equals()
99 if (other.declaringClass != null) in equals()
101 } else if (!declaringClass.equals(other.declaringClass)) in equals()
/external/testng/src/main/java/org/testng/internal/
DClassHelper.java283 public static Object createInstance(Class<?> declaringClass, in createInstance() argument
290 return createInstance1(declaringClass, classes, xmlTest, finder, in createInstance()
293 return createInstance2(declaringClass, (IObjectFactory2) objectFactory); in createInstance()
299 private static Object createInstance2(Class<?> declaringClass, IObjectFactory2 objectFactory) { in createInstance2() argument
300 return objectFactory.newInstance(declaringClass); in createInstance2()
303 public static Object createInstance1(Class<?> declaringClass, in createInstance1() argument
315 Constructor<?> constructor = findAnnotatedConstructor(finder, declaringClass); in createInstance1()
339 Class<?> ec = getEnclosingClass(declaringClass); in createInstance1()
340 boolean isStatic = 0 != (declaringClass.getModifiers() & Modifier.STATIC); in createInstance1()
369 ct = declaringClass.getDeclaredConstructor(parameterTypes); in createInstance1()
[all …]
DFactoryMethod.java40 Class<?> declaringClass = com.getDeclaringClass(); in FactoryMethod() local
41 if (instance != null && ! declaringClass.isAssignableFrom(instance.getClass())) { in FactoryMethod()
43 + instance.getClass() + " " + declaringClass); in FactoryMethod()
46 …od MUST be static. But '" + com.getMethod().getName() + "' from '" + declaringClass.getName() + "'… in FactoryMethod()
60 tc.setTestClass(declaringClass); in FactoryMethod()
DNoOpTestClass.java180 public void setTestClass(Class< ? > declaringClass) { in setTestClass() argument
181 m_testClass = declaringClass; in setTestClass()
/external/guava/android/guava/src/com/google/common/reflect/
DInvokable.java267 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType() local
268 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters(); in getGenericReturnType()
270 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
272 return declaringClass; in getGenericReturnType()
332 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis() local
333 if (declaringClass.getEnclosingConstructor() != null) { in mayNeedHiddenThis()
337 Method enclosingMethod = declaringClass.getEnclosingMethod(); in mayNeedHiddenThis()
348 return declaringClass.getEnclosingClass() != null in mayNeedHiddenThis()
349 && !Modifier.isStatic(declaringClass.getModifiers()); in mayNeedHiddenThis()
DTypeToken.java155 protected TypeToken(Class<?> declaringClass) { in TypeToken() argument
160 this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured); in TypeToken()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java285 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType() local
286 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters(); in getGenericReturnType()
288 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
290 return declaringClass; in getGenericReturnType()
360 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis() local
361 if (declaringClass.getEnclosingConstructor() != null) { in mayNeedHiddenThis()
365 Method enclosingMethod = declaringClass.getEnclosingMethod(); in mayNeedHiddenThis()
376 return declaringClass.getEnclosingClass() != null in mayNeedHiddenThis()
377 && !Modifier.isStatic(declaringClass.getModifiers()); in mayNeedHiddenThis()
DTypeToken.java155 protected TypeToken(Class<?> declaringClass) { in TypeToken() argument
160 this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured); in TypeToken()
/external/junit-params/src/main/java/junitparams/internal/parameters/
DParamsFromMethodCommon.java122 Class<?> declaringClass = sourceClass; in findMethodInTestClassHierarchy() local
123 while (declaringClass.getSuperclass() != null) { in findMethodInTestClassHierarchy()
125 return declaringClass.getDeclaredMethod(methodName); in findMethodInTestClassHierarchy()
128 declaringClass = declaringClass.getSuperclass(); in findMethodInTestClassHierarchy()
/external/guice/core/src/com/google/inject/internal/
DProxyFactory.java53 private final Class<T> declaringClass; field in ProxyFactory
68 declaringClass = constructor.getDeclaringClass(); in ProxyFactory()
73 if (methodAspect.matches(declaringClass)) { in ProxyFactory()
87 Enhancer.getMethods(declaringClass, null, methods); in ProxyFactory()
172 Enhancer enhancer = BytecodeGen.newEnhancer(declaringClass, visibility); in create()
177 throw new Errors().errorEnhancingClass(declaringClass, e).toException(); in create()
/external/desugar/java/com/google/devtools/build/android/desugar/
DInterfaceDesugaring.java378 private final String declaringClass; field in InterfaceDesugaring.InterfaceInvocationRewriter
386 String declaringClass) { in InterfaceInvocationRewriter() argument
392 this.declaringClass = declaringClass; in InterfaceInvocationRewriter()
420 depsCollector.assumeCompanionClass(declaringClass, owner); in visitMethodInsn()
449 depsCollector.assumeCompanionClass(declaringClass, owner); in visitMethodInsn()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java185 Class<?> declaringClass = clazz.getDeclaringClass(); in containerType() local
186 return declaringClass == null ? in containerType()
188 Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)); in containerType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java186 Class<?> declaringClass = clazz.getDeclaringClass(); in containerType() local
187 return declaringClass == null ? in containerType()
189 Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)); in containerType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java118 SignatureAttribute.ClassType declaringClass = classType.getDeclaringClass(); in getTypeName() local
119 …return declaringClass == null ? classType.getName() : getTypeName(declaringClass) + "." + classTyp… in getTypeName()
/external/guava/guava-testlib/src/com/google/common/testing/
DClassSanityTester.java409 private final Class<?> declaringClass; field in ClassSanityTester.FactoryMethodReturnValueTester
415 Class<?> declaringClass, in FactoryMethodReturnValueTester() argument
418 this.declaringClass = declaringClass; in FactoryMethodReturnValueTester()
421 packagesToTest.add(Reflection.getPackageName(declaringClass)); in FactoryMethodReturnValueTester()
557 + declaringClass in getFactoriesToTest()
DNullPointerTester.java190 Class<?> declaringClass = ctor.getDeclaringClass(); in testConstructor() local
192 Modifier.isStatic(declaringClass.getModifiers()) in testConstructor()
193 || declaringClass.getEnclosingClass() == null, in testConstructor()
195 declaringClass.getName()); in testConstructor()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DClassSanityTester.java411 private final Class<?> declaringClass; field in ClassSanityTester.FactoryMethodReturnValueTester
417 Class<?> declaringClass, in FactoryMethodReturnValueTester() argument
420 this.declaringClass = declaringClass; in FactoryMethodReturnValueTester()
423 packagesToTest.add(Reflection.getPackageName(declaringClass)); in FactoryMethodReturnValueTester()
559 + declaringClass in getFactoriesToTest()
DNullPointerTester.java191 Class<?> declaringClass = ctor.getDeclaringClass(); in testConstructor() local
193 Modifier.isStatic(declaringClass.getModifiers()) in testConstructor()
194 || declaringClass.getEnclosingClass() == null, in testConstructor()
196 declaringClass.getName()); in testConstructor()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DParameterizedRobolectricTestRunner.java337 Class<?> declaringClass = method.getDeclaringClass();
339 if (declaringClass.getClassLoader() == classLoader) {
345 Class<?> declaringClassInClassLoader = getClassInClassLoader(declaringClass, classLoader);
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java941 Class<?> declaringClass = method.getDeclaringClass(); in create() local
943 Object lookup = lookupCxtor.newInstance(declaringClass, ALL_MODES); in create()
947 lookup = unreflectSpecial.invoke(lookup, method, declaringClass); in create()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt88 …Line 188) Optional.of(ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver)) ==> java.u…
89 …Line 188) ReflectionFactory.typeDeclarationFor(declaringClass, typeSolver) ==> com.github.javapars…
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java370 …private Method findDirectMethod(Class<?> declaringClass, String methodName, Class<?>... argClasses… in findDirectMethod() argument
371 String directMethodName = shadow.directMethodName(declaringClass.getName(), methodName); in findDirectMethod()
372 Method directMethod = declaringClass.getDeclaredMethod(directMethodName, argClasses); in findDirectMethod()
/external/clang/lib/Sema/
DSemaAccess.cpp1166 const CXXRecordDecl *declaringClass = entity.getDeclaringClass(); in DiagnoseAccessPath() local
1168 switch (HasAccess(S, EC, declaringClass, accessSoFar, entity)) { in DiagnoseAccessPath()
1178 declaringClass == entity.getEffectiveNamingClass()) in DiagnoseAccessPath()