Home
last modified time | relevance | path

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

12345678910>>...26

/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassPathRepository.java64 public JavaClass findClass(final String className) { in findClass() argument
65 return _loadedClasses.get(className); in findClass()
79 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass() argument
80 if ((className == null) || className.isEmpty()) { in loadClass()
81 throw new IllegalArgumentException("Invalid class name " + className); in loadClass()
83 className = className.replace('/', '.'); // Just in case, canonical form in loadClass()
84 final JavaClass clazz = findClass(className); in loadClass()
89 return loadClass(_path.getInputStream(className), className); in loadClass()
91 … throw new ClassNotFoundException("Exception while looking for class " + className + ": " + e, e); in loadClass()
109 final String className = clazz.getName(); in loadClass() local
[all …]
DMemorySensitiveClassPathRepository.java66 public JavaClass findClass(final String className) { in findClass() argument
67 final SoftReference<JavaClass> ref = _loadedClasses.get(className); in findClass()
85 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass() argument
86 if ((className == null) || className.isEmpty()) { in loadClass()
87 throw new IllegalArgumentException("Invalid class name " + className); in loadClass()
89 className = className.replace('/', '.'); // Just in case, canonical form in loadClass()
90 final JavaClass clazz = findClass(className); in loadClass()
95 return loadClass(_path.getInputStream(className), className); in loadClass()
97 … throw new ClassNotFoundException("Exception while looking for class " + className + ": " + e, e); in loadClass()
115 final String className = clazz.getName(); in loadClass() local
[all …]
/external/catch2/include/
Dcatch.hpp139 #define CATCH_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEST_CASE_METHOD( className, __VA_A… argument
152 #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD(… argument
154 …CH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_M… argument
157 …_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_… argument
159 …ODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PROD… argument
174 #define CATCH_SCENARIO_METHOD( className, ... ) INTERNAL_CATCH_TEST_CASE_METHOD( className, "Scenar… argument
223 #define TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEST_CASE_METHOD( className, __VA_ARGS__ ) argument
235 #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( class… argument
237 …ne TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_M… argument
240 … TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_… argument
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DInstrumentSpec.java40 private String className; field in InstrumentSpec
46 this.className = ""; in InstrumentSpec()
51 this.className = builder.className; in InstrumentSpec()
55 public String className() { in className() method in InstrumentSpec
56 return className; in className()
68 return this.className.equals(that.className) in equals()
79 .putUnencodedChars(className) in initHash()
92 .add("className", className) in toString()
98 private String className; field in InstrumentSpec.Builder
101 public Builder className(String className) { in className() argument
[all …]
DBenchmarkSpec.java44 private String className; field in BenchmarkSpec
50 this.className = ""; in BenchmarkSpec()
56 this.className = builder.className; in BenchmarkSpec()
61 public String className() { in className() method in BenchmarkSpec
62 return className; in className()
78 return this.className.equals(that.className) in equals()
100 .add("className", className) in toString()
110 into.putUnencodedChars(from.className) in funnel()
117 private String className; field in BenchmarkSpec.Builder
121 public Builder className(String className) { in className() argument
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DInstrumentConfig.java40 private final String className; field in InstrumentConfig
44 this.className = builder.className; in InstrumentConfig()
48 public String className() { in className() method in InstrumentConfig
49 return className; in className()
61 return this.className.equals(that.className) in equals()
69 return Objects.hashCode(className, options); in hashCode()
74 .add("className", className) in toString()
80 private String className; field in InstrumentConfig.Builder
83 public Builder className(String className) { in className() method in InstrumentConfig.Builder
84 this.className = checkNotNull(className); in className()
[all …]
DResultProcessorConfig.java34 private final String className; field in ResultProcessorConfig
38 this.className = builder.className; in ResultProcessorConfig()
42 public String className() { in className() method in ResultProcessorConfig
43 return className; in className()
56 return this.className.equals(that.className) in equals()
64 return Objects.hashCode(className, options); in hashCode()
69 .add("className", className) in toString()
75 private String className; field in ResultProcessorConfig.Builder
78 public Builder className(String className) { in className() method in ResultProcessorConfig.Builder
79 this.className = checkNotNull(className); in className()
/external/mockito/src/main/java/org/mockito/internal/exceptions/stacktrace/
DDefaultStackTraceCleaner.java25 private static boolean isMockDispatcher(String className) { in isMockDispatcher() argument
26 …return (className.contains("$$EnhancerByMockitoWithCGLIB$$") || className.contains("$MockitoMock$"… in isMockDispatcher()
29 private static boolean isFromMockito(String className) { in isFromMockito() argument
30 return className.startsWith("org.mockito."); in isFromMockito()
33 private static boolean isFromMockitoRule(String className) { in isFromMockitoRule() argument
34 return className.startsWith("org.mockito.internal.junit.JUnitRule"); in isFromMockitoRule()
37 private static boolean isFromMockitoRunner(String className) { in isFromMockitoRunner() argument
38 return className.startsWith("org.mockito.internal.runners.") in isFromMockitoRunner()
39 || className.startsWith("org.mockito.runners.") in isFromMockitoRunner()
40 || className.startsWith("org.mockito.junit."); in isFromMockitoRunner()
/external/jdiff/src/jdiff/
DHTMLReportGenerator.java363 String className = classAPI.name_; in reportChangedPackage() local
364 if (trace) System.out.println("Class/Interface " + className + " was removed."); in reportChangedPackage()
365 … writeClassTableEntry(pkgName, className, 0, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
393 String className = classAPI.name_; in reportChangedPackage() local
394 if (trace) System.out.println("Class/Interface " + className + " was added."); in reportChangedPackage()
395 … writeClassTableEntry(pkgName, className, 1, classAPI.isInterface_, classAPI.doc_, false); in reportChangedPackage()
428 String className = classDiff.name_; in reportChangedPackage() local
429 … System.out.println("Package " + pkgDiff.name_ + ", class/Interface " + className + " was changed.… in reportChangedPackage()
430 writeClassTableEntry(pkgName, className, 2, classDiff.isInterface_, null, false); in reportChangedPackage()
451 String className = classApi.name_; in reportAddedClass() local
[all …]
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DDexmakerStackTraceCleaner.java32 String className = candidate.getClassName(); in getStackTraceCleaner()
36 && !className.endsWith("_Proxy") in getStackTraceCleaner()
38 && !className.startsWith("java.lang.reflect.Method") in getStackTraceCleaner()
39 && !className.startsWith("java.lang.reflect.Proxy") in getStackTraceCleaner()
40 && !(className.startsWith("com.android.dx.mockito.") in getStackTraceCleaner()
42 && !className.startsWith("com.android.dx.mockito.tests") in getStackTraceCleaner()
43 && !className.startsWith("com.android.dx.mockito.inline.tests") in getStackTraceCleaner()
44 … && !className.startsWith("com.android.dx.mockito.inline.extended.tests")) in getStackTraceCleaner()
47 && !className.startsWith("$Proxy") in getStackTraceCleaner()
48 && !className.matches(".*\\.\\$Proxy[\\d]+"); in getStackTraceCleaner()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/
DTypeName.java26 private final String className; field in TypeName
28 public TypeName(String packageName, String className) { in TypeName() argument
30 this.className = className; in TypeName()
37 public String className() { in className() method in TypeName
38 return className; in className()
44 String className; in fromFullyQualifiedClassName() local
47 className = fullyQualifiedClassName; in fromFullyQualifiedClassName()
50 className = fullyQualifiedClassName.substring(packageSeparatorIndex + 1); in fromFullyQualifiedClassName()
52 return new TypeName(packageName, className); in fromFullyQualifiedClassName()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DClassNameResolver.java5 …public static <T> Class<T> resolve(String packageName, String className) throws ClassNotFoundExcep… in resolve() argument
7 if (looksFullyQualified(className)) { in resolve()
8 aClass = safeClassForName(className); in resolve()
10 if (className.startsWith(".")) { in resolve()
11 aClass = safeClassForName(packageName + className); in resolve()
13 aClass = safeClassForName(packageName + "." + className); in resolve()
19 + packageName + " and class name: " + className); in resolve()
24 private static boolean looksFullyQualified(String className) { in looksFullyQualified() argument
25 return className.contains(".") && !className.startsWith("."); in looksFullyQualified()
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DClassNotLoadedException.java74 private String className; field in ClassNotLoadedException
76 public ClassNotLoadedException(String className) { in ClassNotLoadedException() argument
78 this.className = className; in ClassNotLoadedException()
81 public ClassNotLoadedException(String className, String message) { in ClassNotLoadedException() argument
83 this.className = className; in ClassNotLoadedException()
86 public String className() { in className() method in ClassNotLoadedException
87 return className; in className()
/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 …]
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()
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 …]
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()
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()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java142 for (ClassName className : importCandidates) { in write()
143 if (!(className.packageName().equals(packageName) in write()
144 && !className.enclosingClassName().isPresent()) in write()
145 && !(className.packageName().equals("java.lang") in write()
146 && className.enclosingSimpleNames().isEmpty()) in write()
147 && !typeNames.contains(className.topLevelClassName())) { in write()
148 Optional<ClassName> importCandidate = Optional.of(className); in write()
221 public String sourceReferenceForClassName(ClassName className) { in sourceReferenceForClassName() argument
222 if (isImported(className)) { in sourceReferenceForClassName()
223 return className.simpleName(); in sourceReferenceForClassName()
[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/turbine/java/com/google/turbine/binder/sym/
DClassSymbol.java37 private final String className; field in ClassSymbol
39 public ClassSymbol(String className) { in ClassSymbol() argument
40 this.className = className; in ClassSymbol()
45 return className.hashCode(); in hashCode()
50 return className.replace('/', '.'); in toString()
55 return o instanceof ClassSymbol && className.equals(((ClassSymbol) o).className); in equals()
60 return className; in binaryName()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
DClassDefinitionUtils.java132 public static <T> Class<T> defineClass(String className, byte[] b, ClassLoader loader) in defineClass() argument
134 …Object[] args = new Object[]{className, b, new Integer(0), new Integer(b.length), PROTECTION_DOMAI… in defineClass()
137 Class.forName(className, true, loader); in defineClass()
149 public static byte[] readClass(String className) throws IOException { in readClass() argument
151 className = classNameToResource(className); in readClass()
157 InputStream in = ClassDefinitionUtils.class.getClassLoader().getResourceAsStream(className); in readClass()
198 public static String classNameToInternalClassName(String className) { in classNameToInternalClassName() argument
199 return className.replace('.', '/'); in classNameToInternalClassName()
209 public static String classNameToResource(String className) { in classNameToResource() argument
210 return classNameToInternalClassName(className) + ".class"; in classNameToResource()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMethodSignature.java7 public final String className; field in MethodSignature
12 …private MethodSignature(String className, String methodName, String[] paramTypes, String returnTyp… in MethodSignature() argument
13 this.className = className; in MethodSignature()
22 String className = internalString.substring(0, methodStart).replace('/', '.'); in parse() local
31 return new MethodSignature(className, methodName, paramTypes, returnType); in parse()
36 return className + "." + methodName + "(" + Join.join(", ", (Object[]) paramTypes) + ")"; in toString()
39 boolean matches(String className, String methodName) { in matches() argument
40 return this.className.equals(className) && this.methodName.equals(methodName); in matches()
DMethodRef.java7 public final String className; field in MethodRef
14 public MethodRef(String className, String methodName) { in MethodRef() argument
15 this.className = className; in MethodRef()
26 return className.equals(methodRef.className) && methodName.equals(methodRef.methodName); in equals()
30 int result = className.hashCode(); in hashCode()
38 "className='" + className + '\'' + in toString()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dsort.js49 var sortup = header.className.indexOf('down ') == 0;
76 header.className = 'up ' + header.className;
82 header.className = 'down ' + header.className;
133 if (c.className) {
134 if (c.className.indexOf('down ') == 0) {
135 c.className = c.className.slice(5);
137 if (c.className.indexOf('up ') == 0) {
138 c.className = c.className.slice(3);

12345678910>>...26