Home
last modified time | relevance | path

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

12

/external/guice/core/src/com/google/inject/internal/util/
DStackTraceElements.java63 Class declaringClass = member.getDeclaringClass(); in forMember() local
66 LineNumbers lineNumbers = lineNumbersCache.getUnchecked(declaringClass); in forMember()
78 return new StackTraceElement(declaringClass.getName(), memberName, fileName, lineNumber); in forMember()
130 String declaringClass = inMemoryStackTraceElements[i].getClassName(); in convertToStackTraceElement() local
134 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) && e.lineNumber == lineNumber && in equals()
[all …]
/external/mockito/src/org/mockito/internal/invocation/
DSerializableMethod.java17 private Class<?> declaringClass; field in SerializableMethod
25 declaringClass = method.getDeclaringClass(); in SerializableMethod()
55 return declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod()
59 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
64 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
83 if (declaringClass == null) { in equals()
84 if (other.declaringClass != null) in equals()
86 } 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/javassist/src/main/javassist/
DCtBehavior.java43 CtClass declaring = declaringClass; in copy()
98 declaringClass.checkModify(); in getMethodInfo()
144 declaringClass.checkModify(); in setModifiers()
286 declaringClass.getClassPool()); in getParameterTypes()
294 declaringClass.getClassPool()); in getReturnType0()
335 return declaringClass.getClassPool().get(exceptions); in getExceptionTypes()
342 declaringClass.checkModify(); in setExceptionTypes()
394 CtClass cc = declaringClass; in setBody()
406 declaringClass.rebuildClassFile(); in setBody()
474 declaringClass.checkModify(); in setAttribute()
[all …]
DCtMember.java24 protected CtClass declaringClass; field in CtMember
127 declaringClass = clazz; in CtMember()
164 public CtClass getDeclaringClass() { return declaringClass; } in getDeclaringClass()
174 return clazz == declaringClass; in visibleFrom()
176 String declName = declaringClass.getPackageName(); in visibleFrom()
185 return clazz.subclassOf(declaringClass); in visibleFrom()
DCtConstructor.java140 return declaringClass.getSimpleName(); in getName()
175 ClassFile cf = declaringClass.getClassFile2(); in getSuperclassName()
234 setBody0(src.declaringClass, src.methodInfo, in setBody()
235 declaringClass, methodInfo, map); in setBody()
247 CtClass cc = declaringClass; in insertBeforeBody()
DCtMethod.java208 declaringClass.checkModify(); in setName()
254 setBody0(src.declaringClass, src.methodInfo, in setBody()
255 declaringClass, methodInfo, map); in setBody()
272 declaringClass.checkModify(); in setWrappedBody()
DCtField.java176 declaringClass.checkModify(); in getFieldInfo()
220 declaringClass.checkModify(); in setName()
239 declaringClass.checkModify(); in setModifiers()
347 declaringClass.getClassPool()); in getType()
354 declaringClass.checkModify(); in setType()
433 declaringClass.checkModify(); in setAttribute()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java250 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType() local
251 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters(); in getGenericReturnType()
253 return Types.newParameterizedType(declaringClass, typeParams); in getGenericReturnType()
255 return declaringClass; in getGenericReturnType()
311 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis() local
312 if (declaringClass.getEnclosingConstructor() != null) { in mayNeedHiddenThis()
316 Method enclosingMethod = declaringClass.getEnclosingMethod(); in mayNeedHiddenThis()
327 return declaringClass.getEnclosingClass() != null in mayNeedHiddenThis()
328 && !Modifier.isStatic(declaringClass.getModifiers()); in mayNeedHiddenThis()
DTypeToken.java139 protected TypeToken(Class<?> declaringClass) { in TypeToken() argument
144 this.runtimeType = of(declaringClass).resolveType(captured).runtimeType; in TypeToken()
/external/guice/core/src/com/google/inject/internal/
DProxyFactory.java57 private final Class<T> declaringClass; field in ProxyFactory
72 declaringClass = constructor.getDeclaringClass(); in ProxyFactory()
77 if (methodAspect.matches(declaringClass)) { in ProxyFactory()
91 Enhancer.getMethods(declaringClass, null, methods); in ProxyFactory()
175 Enhancer enhancer = BytecodeGen.newEnhancer(declaringClass, visibility); in create()
180 throw new Errors().errorEnhancingClass(declaringClass, e).toException(); in create()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java373 … Class<?> declaringClass = findDeclaringClassForMethod(methodName, paramClasses, originalClass); in findDeclaredShadowClassForMethod() local
374 return findShadowClass(declaringClass, classLoader); in findDeclaredShadowClassForMethod()
378 Class<?> declaringClass; in findDeclaringClassForMethod() local
380 declaringClass = originalClass; in findDeclaringClassForMethod()
388 declaringClass = originalMethod.getDeclaringClass(); in findDeclaringClassForMethod()
390 return declaringClass; in findDeclaringClassForMethod()
422 Class<?> declaringClass = method.getDeclaringClass(); in isOnShadowClass() local
425 for (Annotation annotation : declaringClass.getAnnotations()) { in isOnShadowClass()
DAndroidTranslator.java265 CtClass declaringClass = ctMethod.getDeclaringClass(); in fixMethod() local
271 boolean wasDeclaredInClass = ctClass == declaringClass; in fixMethod()
/external/guava/guava-testlib/src/com/google/common/testing/
DClassSanityTester.java406 private final Class<?> declaringClass; field in ClassSanityTester.FactoryMethodReturnValueTester
412 Class<?> declaringClass, in FactoryMethodReturnValueTester() argument
415 this.declaringClass = declaringClass; in FactoryMethodReturnValueTester()
418 packagesToTest.add(Reflection.getPackageName(declaringClass)); in FactoryMethodReturnValueTester()
549 + declaringClass + ".", in getFactoriesToTest()
DNullPointerTester.java188 Class<?> declaringClass = ctor.getDeclaringClass(); in testConstructor() local
189 checkArgument(Modifier.isStatic(declaringClass.getModifiers()) in testConstructor()
190 || declaringClass.getEnclosingClass() == null, in testConstructor()
191 "Cannot test constructor of non-static inner class: %s", declaringClass.getName()); in testConstructor()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java875 Class<?> declaringClass = method.getDeclaringClass(); in create() local
877 Object lookup = lookupCxtor.newInstance(declaringClass, ALL_MODES); in create()
881 lookup = unreflectSpecial.invoke(lookup, method, declaringClass); in create()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/clang/lib/Sema/
DSemaAccess.cpp1171 const CXXRecordDecl *declaringClass = entity.getDeclaringClass(); in DiagnoseAccessPath() local
1173 switch (HasAccess(S, EC, declaringClass, accessSoFar, entity)) { in DiagnoseAccessPath()
1183 declaringClass == entity.getEffectiveNamingClass()) in DiagnoseAccessPath()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dyjp-controller-api-redist.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/yourkit/ com/ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12