Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/
DClassNameResolver.java5 private String className; field in ClassNameResolver
7 public ClassNameResolver(String packageName, String className) { in ClassNameResolver() argument
9 this.className = className; in ClassNameResolver()
14 if (looksFullyQualified(className)) { in resolve()
15 aClass = safeClassForName(className); in resolve()
17 aClass = safeClassForName(packageName + "." + className); in resolve()
19 aClass = safeClassForName(packageName + className); in resolve()
25 + packageName + " and class name: " + className); in resolve()
30 private boolean looksFullyQualified(String className) { in looksFullyQualified() argument
31 return className.contains(".") && !className.startsWith("."); in looksFullyQualified()
/external/proguard/src/proguard/
DFullyQualifiedClassNameChecker.java74 checkClassName(classSpecification.className); in checkClassSpecifications()
151 private void checkClassName(String className) in checkClassName() argument
153 if (className != null && in checkClassName()
154 !containsWildCards(className) && in checkClassName()
155 programClassPool.getClass(className) == null && in checkClassName()
156 libraryClassPool.getClass(className) == null && in checkClassName()
157 notePrinter.accepts(className)) in checkClassName()
159 notePrinter.print(className, in checkClassName()
161 ClassUtil.externalClassName(className) + "'"); in checkClassName()
165 className.lastIndexOf(ClassConstants.PACKAGE_SEPARATOR); in checkClassName()
[all …]
DKeepClassMemberChecker.java67 String className = keepClassSpecification.className; in checkClassSpecifications() local
68 if (className == null) in checkClassSpecifications()
70 className = keepClassSpecification.extendsClassName; in checkClassSpecifications()
73 if (className == null || in checkClassSpecifications()
74 notePrinter.accepts(className)) in checkClassSpecifications()
76 notePrinter.print(className, in checkClassSpecifications()
78 (className == null ? in checkClassSpecifications()
80 ClassUtil.externalClassName(className)) + "'"); in checkClassSpecifications()
DClassSpecification.java39 public String className; field in ClassSpecification
72 classSpecification.className, in ClassSpecification()
111 String className, in ClassSpecification() argument
119 className, in ClassSpecification()
160 String className, in ClassSpecification() argument
170 this.className = className; in ClassSpecification()
227 …(this.className == null ? other.className == null : this.className.equa… in equals()
241 (className == null ? 0 : className.hashCode() ) ^ in hashCode()
DAssumeNoSideEffectsChecker.java62 String className = classSpecification.className; in checkClassSpecifications() local
63 if (className == null) in checkClassSpecifications()
65 className = classSpecification.extendsClassName; in checkClassSpecifications()
68 if (className == null || in checkClassSpecifications()
69 notePrinter.accepts(className)) in checkClassSpecifications()
86 notePrinter.print(className, in checkClassSpecifications()
88 (className == null ? in checkClassSpecifications()
90 … ClassUtil.externalClassName(className)) + "' have any side effects"); in checkClassSpecifications()
DClassMemberChecker.java66 String className = classSpecification.className; in checkClassSpecifications() local
67 if (className != null && in checkClassSpecifications()
68 !containsWildCards(className) && in checkClassSpecifications()
69 notePrinter.accepts(className)) in checkClassSpecifications()
71 Clazz clazz = programClassPool.getClass(className); in checkClassSpecifications()
93 String className = clazz.getName(); in checkMemberSpecifications() local
111 notePrinter.print(className, in checkMemberSpecifications()
114 ClassUtil.externalClassName(className) + "'"); in checkMemberSpecifications()
121 notePrinter.print(className, in checkMemberSpecifications()
123 … ClassUtil.externalFullMethodDescription(className, 0, memberName, descriptor) + "' in class '" + in checkMemberSpecifications()
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java40 public Class<?> findClass(String className) throws ClassNotFoundException { in findClass() argument
43 if (!className in findClass()
48 String classNameAsFile = className.replace('.', '/') + ".class"; in findClass()
60 theClass = loadClassFromJar(theClassPaths[i], className, in findClass()
63 theClass = loadClassFromFile(theClassPaths[i], className, in findClass()
72 public Class<?> loadClass(String className) throws ClassNotFoundException { in loadClass() argument
82 theClass = findLoadedClass(className); in loadClass()
87 theClass = this.findClass(className); in loadClass()
91 if (element.equals(className)) { in loadClass()
95 theClass = Class.forName(className); in loadClass()
[all …]
/external/jdiff/src/jdiff/
DHTMLReportGenerator.java355 String className = classAPI.name_; in reportChangedPackage() local
356 if (trace) System.out.println("Class/Interface " + className + " was removed."); in reportChangedPackage()
357 … writeClassTableEntry(pkgName, className, 0, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
385 String className = classAPI.name_; in reportChangedPackage() local
386 if (trace) System.out.println("Class/Interface " + className + " was added."); in reportChangedPackage()
387 … writeClassTableEntry(pkgName, className, 1, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
416 String className = classDiff.name_; in reportChangedPackage() local
417 … System.out.println("Package " + pkgDiff.name_ + ", class/Interface " + className + " was changed.… in reportChangedPackage()
418 writeClassTableEntry(pkgName, className, 2, classDiff.isInterface_, null, false); in reportChangedPackage()
440 String className = classDiff.name_; in reportChangedClass() local
[all …]
/external/conscrypt/src/compat/native/
DJNIHelp.cpp64 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() argument
66 return (*env)->FindClass(e, className); in findClass()
69 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
74 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods()
76 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods()
79 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods()
85 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
92 extern "C" int jniThrowException(C_JNIEnv* c_env, const char* className, const char* msg) { in jniThrowException() argument
94 jclass exceptionClass = env->FindClass(className); in jniThrowException()
97 ALOGD("Unable to find exception class %s", className); in jniThrowException()
[all …]
DJNIHelp.h45 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, const JNINativeMethod* gMethods,…
61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
123 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
127 return jniThrowException(&env->functions, className, msg); in jniThrowException()
130 extern "C" int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list …
136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
139 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java66 private void writeFile(String className, byte bytes[]) in writeFile() argument
68 File file = new File(path + File.separator + className + ".dat"); in writeFile()
85 private void add(String className, int classModifiers, byte bytes[]) in add() argument
87 CoverageTarget newTarget = new CoverageTarget(className, classModifiers, bytes); in add()
98 public CoverageTarget(String className, int classModifiers, byte bytes[]) in CoverageTarget() argument
100 super(className, bytes == null? null : new ByteArrayInputStream(bytes)); in CoverageTarget()
140 String className = "com.ibm.icu" + str.substring(0, ix).replace('/', '.'); in visit() local
143 if (className.startsWith("com.ibm.icu.dev.")) { in visit()
148 Class c = Class.forName(className); in visit()
153 SerializableTest.Handler handler = SerializableTest.getHandler(className); in visit()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DCompilingClassLoader.java109 public CompilingClassLoader(ClassLoader parent, String className, CharSequence sourceCode, in CompilingClassLoader() argument
112 if (!compileSourceCodeToByteCode(className, sourceCode, diagnosticListener)) { in CompilingClassLoader()
113 throw new CompilerException("Could not compile " + className); in CompilingClassLoader()
133 private boolean compileSourceCodeToByteCode(String className, CharSequence sourceCode, in compileSourceCodeToByteCode() argument
140 JavaFileObject javaFile = new InMemoryJavaFile(className, sourceCode); in compileSourceCodeToByteCode()
174 public JavaFileObject getJavaFileForOutput(Location location, final String className, in getJavaFileForOutput() argument
178 ByteArrayOutputStream outputStream = byteCodeForClasses.get(className); in getJavaFileForOutput()
184 byteCodeForClasses.put(className, outputStream); in getJavaFileForOutput()
195 public InMemoryJavaFile(String className, CharSequence sourceCode) {
196 super(makeUri(className), Kind.SOURCE);
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java59 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument
68 final int lastDot = className.lastIndexOf("."); in findProviderClass()
69 String packageName = className; in findProviderClass()
70 if (lastDot != -1) packageName = className.substring(0, lastDot); in findProviderClass()
88 providerClass = Class.forName(className); in findProviderClass()
91 providerClass = cl.loadClass(className); in findProviderClass()
97 providerClass = Class.forName(className); in findProviderClass()
100 providerClass = cl.loadClass(className); in findProviderClass()
DExtensionNamespacesManager.java167 String className = classOrPackage; in defineJavaNamespace()
168 if (className.startsWith("class:")) in defineJavaNamespace()
169 className = className.substring(6); in defineJavaNamespace()
171 int lastSlash = className.lastIndexOf("/"); in defineJavaNamespace()
173 className = className.substring(lastSlash + 1); in defineJavaNamespace()
177 if(null == className || className.trim().length() == 0) in defineJavaNamespace()
182 ExtensionHandler.getClassForName(className); in defineJavaNamespace()
186 new Object[]{ns, "javaclass", className}); in defineJavaNamespace()
193 new Object[]{ns, "javapackage", className + "."}); in defineJavaNamespace()
/external/proguard/src/proguard/obfuscate/
DMappingReader.java54 String className = null; in pump() local
74 className = processClassMapping(line, mappingProcessor); in pump()
76 else if (className != null) in pump()
80 processClassMemberMapping(className, line, mappingProcessor); in pump()
126 String className = line.substring(0, arrowIndex).trim(); in processClassMapping() local
130 boolean interested = mappingProcessor.processClassMapping(className, newClassName); in processClassMapping()
132 return interested ? className : null; in processClassMapping()
140 private void processClassMemberMapping(String className, in processClassMemberMapping() argument
174 mappingProcessor.processFieldMapping(className, type, name, newName); in processClassMemberMapping()
189 mappingProcessor.processMethodMapping(className, in processClassMemberMapping()
DMappingKeeper.java60 public boolean processClassMapping(String className, in processClassMapping() argument
64 String name = ClassUtil.internalClassName(className); in processClassMapping()
82 className + in processClassMapping()
100 public void processFieldMapping(String className, in processFieldMapping() argument
122 warningPrinter.print(ClassUtil.internalClassName(className), in processFieldMapping()
124 className + in processFieldMapping()
138 public void processMethodMapping(String className, in processMethodMapping() argument
163 warningPrinter.print(ClassUtil.internalClassName(className), in processMethodMapping()
165 className + in processMethodMapping()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLProvider.java280 private void putMacImplClass(String algorithm, String className) { in putMacImplClass() argument
288 PREFIX + className, in putMacImplClass()
293 private void putSymmetricCipherImplClass(String transformation, String className) { in putSymmetricCipherImplClass() argument
300 PREFIX + className, in putSymmetricCipherImplClass()
305 private void putRSACipherImplClass(String transformation, String className) { in putRSACipherImplClass() argument
316 PREFIX + className, in putRSACipherImplClass()
321 private void putSignatureImplClass(String algorithm, String className) { in putSignatureImplClass() argument
336 PREFIX + className, in putSignatureImplClass()
341 private void putRAWRSASignatureImplClass(String className) { in putRAWRSASignatureImplClass() argument
352 PREFIX + className, in putRAWRSASignatureImplClass()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/export/
DSavableClassUtil.java75 private static String remapClass(String className) throws ClassNotFoundException { in remapClass() argument
76 String result = classRemappings.get(className); in remapClass()
78 return className; in remapClass()
166 public static Savable fromName(String className) throws InstantiationException, in fromName() argument
169 className = remapClass(className); in fromName()
171 return (Savable) Class.forName(className).newInstance(); in fromName()
175 …eed to have the BinaryImporter set up in a special way. Please doublecheck the setup.", className); in fromName()
185 …public static Savable fromName(String className, List<ClassLoader> loaders) throws InstantiationEx… in fromName() argument
188 return fromName(className); in fromName()
191 String newClassName = remapClass(className); in fromName()
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DPathClass.java22 private String className; field in PathClass
24 public PathClass(String classPath, String className) { in PathClass() argument
26 this.className = className; in PathClass()
34 return className; in getClassName()
38 return classPath + "!" + className; in toString()
/external/javassist/src/main/javassist/util/
DHotSwapper.java155 public void reload(String className, byte[] classFile) { in reload() argument
156 ReferenceType classtype = toRefType(className); in reload()
159 reload2(map, className); in reload()
174 String className = null; in reload() local
177 className = (String)e.getKey(); in reload()
178 map.put(toRefType(className), e.getValue()); in reload()
181 if (className != null) in reload()
182 reload2(map, className + " etc."); in reload()
185 private ReferenceType toRefType(String className) { in toRefType() argument
186 List list = jvm.classesByName(className); in toRefType()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerFactory.java105 String className = in getSerializer() local
109 if (null == className) in getSerializer()
114 className = in getSerializer()
116 if (null == className) { in getSerializer()
129 Class cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer()
156 className = SerializerConstants.DEFAULT_SAX_SERIALIZER; in getSerializer()
157 cls = ObjectFactory.findProviderClass(className, loader, true); in getSerializer()
172 new Object[] { className})); in getSerializer()
/external/proguard/src/proguard/retrace/
DReTrace.java188 String className = null; in execute() local
223 className = originalClassName(match); in execute()
227className = originalClassName(ClassUtil.externalClassName(match)); in execute()
269 className = originalClassName(match); in execute()
270 outLine.append(className); in execute()
274className = originalClassName(ClassUtil.externalClassName(match)); in execute()
275 outLine.append(ClassUtil.internalClassName(className)); in execute()
289 originalFieldName(className, in execute()
297 originalMethodName(className, in execute()
363 private void originalFieldName(String className, in originalFieldName() argument
[all …]
/external/mockito/src/org/mockito/internal/util/
DDecamelizer.java15 public static String decamelizeMatcher(String className) { in decamelizeMatcher() argument
16 if (className.length() == 0) { in decamelizeMatcher()
20 String decamelized = decamelizeClassName(className); in decamelizeMatcher()
23 return "<" + className + ">"; in decamelizeMatcher()
29 private static String decamelizeClassName(String className) { in decamelizeClassName() argument
30 Matcher match = CAPS.matcher(className); in decamelizeClassName()
/external/doclava/res/assets/templates/assets/
Dsearch_autocomplete.js14 c1.className = "jd-autocomplete jd-selected";
17 c1.className = "jd-autocomplete";
50 c1.className = "jd-autocomplete";
57 this.className = this.className + " jd-selected";
60 this.className = "jd-autocomplete";
73 document.getElementById("search_filtered_div").className = "showing";
77 r.className = "show-row";
87 r.className = "no-display";
100 document.getElementById("search_filtered_div").className = "no-display";
111 document.getElementById("search_filtered_div").className = "no-display";
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DNoSuchClassError.java23 private String className; field in NoSuchClassError
28 public NoSuchClassError(String className, Error cause) { in NoSuchClassError() argument
30 this.className = className; in NoSuchClassError()
37 return className; in getClassName()

12345678910>>...17