/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
P.java | 22 public class P { 23 private Class c; 25 public void setClazz(Class c) { 33 private String findProp(Class cls, String key) { 40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary.prop.query/ |
alignment_of.pass.cpp | 17 template <class T, unsigned A> 26 class Class 29 ~Class(); 35 test_alignment_of<Class, 1>();
|
rank.pass.cpp | 16 template <class T, unsigned A> 25 class Class 28 ~Class(); 35 test_rank<Class, 0>();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
ClassLoaderObjectInputStream.java | 26 * A special ObjectInputStream that loads a class based on a specified 35 public class ClassLoaderObjectInputStream extends ObjectInputStream { 37 /** The class loader to use. */ 56 * Resolve a class specified by the descriptor using the 59 * @param objectStreamClass descriptor of the class 60 * @return the Class object described by the ObjectStreamClass 62 * @throws ClassNotFoundException if the Class cannot be found 64 protected Class resolveClass(ObjectStreamClass objectStreamClass) 67 Class clazz = Class.forName(objectStreamClass.getName(), false, classLoader) [all...] |
/art/runtime/mirror/ |
class.cc | 17 #include "class.h" 23 #include "class-inl.h" 39 GcRoot<Class> Class::java_lang_Class_; 41 void Class::SetClassClass(Class* java_lang_Class) { 46 java_lang_Class_ = GcRoot<Class>(java_lang_Class); 49 void Class::ResetClass() { 51 java_lang_Class_ = GcRoot<Class>(nullptr); 54 void Class::VisitRoots(RootCallback* callback, void* arg) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableClassToInstanceMapTest.java | 40 public class ImmutableClassToInstanceMapTest extends TestCase { 43 suite.addTestSuite(ImmutableClassToInstanceMapTest.class); 51 public Map<Class, Number> create(Object... elements) { 55 Entry<Class, Number> entry = (Entry<Class, Number>) object; 74 Map<Class<?>, Object> in = Collections.emptyMap(); 82 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); 83 in.put(Number.class, 0); 84 in.put(Double.class, Math.PI); 88 Number zero = map.getInstance(Number.class); [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
FastClass.java | 26 abstract public class FastClass 28 private Class type; 34 protected FastClass(Class type) { 38 public static FastClass create(Class type) { 43 public static FastClass create(ClassLoader loader, Class type) { 50 public static class Generator extends AbstractClassGenerator 52 private static final Source SOURCE = new Source(FastClass.class.getName()); 53 private Class type; 59 public void setType(Class type) { 76 protected Object firstInstance(Class type) [all...] |
/external/easymock/src/org/easymock/internal/ |
IProxyFactory.java | 21 T createProxy(Class<T> toMock, InvocationHandler handler);
|
/external/guava/guava/src/com/google/common/eventbus/ |
HandlerFindingStrategy.java | 40 Multimap<Class<?>, EventHandler> findAllHandlers(Object source);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
Platform.java | 24 * <p>This class is emulated in GWT. 28 class Platform { 31 * Calls {@link Class#isInstance(Object)}. Factored out so that it can be 36 static boolean checkIsInstance(Class<?> clazz, Object obj) { 44 // Class.cast is not supported in GWT. This method is a no-op in GWT. 45 static void checkCast(Class<?> clazz, Object obj) { 70 static Method getMethod(Class<?> clazz, String name) { 78 static String classGetSimpleName(Class<?> clazz) {
|
/external/javassist/src/main/javassist/util/proxy/ |
ProxyObjectOutputStream.java | 24 * An input stream class which knows how to serialize proxies created via {@link ProxyFactory}. It must 31 public class ProxyObjectOutputStream extends ObjectOutputStream 35 * using class ProxyFactory 47 Class cl = desc.forClass(); 50 Class superClass = cl.getSuperclass(); 51 Class[] interfaces = cl.getInterfaces(); 58 Class interfaze = interfaces[i]; 59 if (interfaze != ProxyObject.class) {
|
/external/junit/src/org/junit/experimental/categories/ |
Category.java | 7 * Marks a test class or test method as belonging to one or more categories of tests. 17 public static class A { 23 @Category(SlowTests.class) 29 @Category({SlowTests.class, FastTests.class}) 30 public static class B { 42 Class<?>[] value();
|
/external/junit/src/org/junit/experimental/theories/ |
ParametersSuppliedBy.java | 10 Class<? extends ParameterSupplier> value();
|
/external/junit/src/org/junit/runners/ |
AllTests.java | 9 * @RunWith(AllTests.class) 10 * public class ProductTests { 17 public class AllTests extends SuiteMethod { 21 public AllTests(Class<?> klass) throws Throwable {
|
JUnit4.java | 6 * Aliases the current default JUnit 4 class runner, for future-proofing. If 7 * future versions of JUnit change the default Runner class, they will also 8 * change the definition of this class. Developers wanting to explicitly tag a 9 * class as a JUnit 4 class should use {@code @RunWith(JUnit4.class)}, not, 10 * for example in JUnit 4.5, {@code @RunWith(BlockJUnit4ClassRunner.class)}. 11 * This is the only way this class should be used--any extension that 12 * depends on the implementation details of this class is likely to break 15 public final class JUnit4 extends BlockJUnit4ClassRunner [all...] |
/external/mockito/src/org/mockito/internal/creation/ |
SerializableMockitoMethodProxy.java | 12 public class SerializableMockitoMethodProxy extends AbstractMockitoMethodProxy implements Serializable {
15 private final Class<?> c1;
16 private final Class<?> c2;
24 c1 = (Class<?>) Whitebox.getInternalState(info, "c1");
25 c2 = (Class<?>) Whitebox.getInternalState(info, "c2");
|
/external/mockito/src/org/mockito/internal/listeners/ |
MockingStartedListener.java | 12 void mockingStarted(Object mock, Class classToMock);
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
Constructors.java | 5 public abstract class Constructors { 13 public static Constructor<?> noArgConstructorOf(Class<?> classToMock) {
|
/external/objenesis/main/src/org/objenesis/instantiator/android/ |
AndroidSerializationInstantiator.java | 27 * non-serializable parent class constructor, using internal methods on the Dalvik implementation of 32 public class AndroidSerializationInstantiator implements ObjectInstantiator { 33 private final Class type; 37 public AndroidSerializationInstantiator(Class type) { 60 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod( 61 "newInstance", new Class[] {Class.class});
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/ |
AnnotationWithClass.java | 25 Class<?> value();
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
GenerateProgramPort.java | 29 Class type();
|
/libcore/libart/src/main/java/java/lang/reflect/ |
ArtField.java | 40 public final class ArtField { 42 private Class<?> declaringClass; 47 /** Offset of field in object or class */ 80 Class<?> getDeclaringClass() { 84 Class<?> getType() { 86 // The type of the synthesized field in a Proxy class is Class[][] 90 return Class[][].class;
|
/libcore/luni/src/main/java/java/io/ |
ObjectStreamField.java | 32 public class ObjectStreamField implements Comparable<Object> { 60 public ObjectStreamField(String name, Class<?> cl) { 67 this.type = new WeakReference<Class<?>>(cl); 85 public ObjectStreamField(String name, Class<?> cl, boolean unshared) { 92 this.type = (cl.getClassLoader() == null) ? cl : new WeakReference<Class<?>>(cl); 164 * @return A Class object representing the type of the field 167 /* package */ Class<?> getTypeInternal() { 169 return (Class<?>) ((WeakReference<?>) type).get(); 171 return (Class<?>) type; 177 * @return a {@code Class} object representing the type of the field [all...] |
/libcore/luni/src/main/java/java/lang/ |
Compiler.java | 23 public final class Compiler { 25 * Prevent this class from being instantiated. 46 * Compiles the specified class using the JIT compiler and indicates if 51 * java.lang.Class the class to JIT compile 56 public static boolean compileClass(Class<?> classToCompile) { 66 * the string to match class names with.
|
InstantiationError.java | 22 * instance of a class which has no visible constructors from the location where 25 * Note that this can only occur when inconsistent class files are being loaded. 27 public class InstantiationError extends IncompatibleClassChangeError { 50 * and the class that caused this error. 53 * the class that can not be instantiated. 55 InstantiationError(Class<?> clazz) {
|