/art/runtime/entrypoints/quick/ |
quick_cast_entrypoints.cc | 17 #include "mirror/class-inl.h" 23 extern "C" uint32_t artIsAssignableFromCode(mirror::Class* klass, mirror::Class* ref_class)
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/b3/ |
Test_b3.java | 22 public class Test_b3 extends DxTestCase { 30 Class.forName("dot.junit.verify.b3.d.T_b3_1"); 43 Class.forName("dot.junit.verify.b3.d.T_b3_2");
|
/external/apache-harmony/luni/src/test/api/common/ |
Proxy2Test.java | 27 public class Proxy2Test extends TestCase { 29 Class pc = Proxy.getProxyClass(DefaultPkgIntf.class.getClassLoader(), 30 new Class[] { DefaultPkgIntf.class });
|
/external/chromium_org/base/mac/ |
objc_property_releaser.h | 15 // ObjCPropertyReleaser is a C++ class that can automatically release 17 // use is to place an ObjCPropertyReleaser object within an Objective-C class 35 // // It's recommended to put the class name into the property releaser's 58 // // Initialize with [AllaysIBF class]. Never use [self class] because 59 // // in the case of subclassing, it will return the most specific class 60 // // for |self|, which may not be the same as [AllaysIBF class]. This 64 // propertyReleaser_AllaysIBF_.Init(self, [AllaysIBF class]); 77 // Another way of doing this would be to provide a base class that others can 78 // inherit from, and to have the base class' -dealloc walk the property list [all...] |
/external/chromium_org/chrome/common/mac/ |
objc_method_swizzle.h | 16 Method GetImplementedInstanceMethod(Class aClass, SEL aSelector); 23 Class aClass, const SEL originalSelector, const SEL alternateSelector);
|
/external/conscrypt/src/main/java/org/conscrypt/util/ |
EmptyArray.java | 21 public final class EmptyArray { 30 public static final Class<?>[] CLASS = new Class[0];
|
/external/easymock/src/org/easymock/ |
IMocksControl.java | 26 * @param toMock the class of the interface that the mock object should implement.
29 <T> T createMock(Class<T> toMock);
34 * @param toMock the class of the interface that the mock object should implement.
39 <T> T createMock(String name, Class<T> toMock);
|
/external/easymock/src/org/easymock/internal/ |
JavaProxyFactory.java | 21 public class JavaProxyFactory<T> implements IProxyFactory<T> {
23 public T createProxy(Class<T> toMock, InvocationHandler handler) {
25 new Class[] { toMock }, handler);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
PropertyEditorProvider.java | 21 public class PropertyEditorProvider { 25 public PropertyEditor getEditorForType(Class<?> propertyType) throws Exception { 33 public PropertyEditor getEditorForEditorType(Class<?> editorType) throws Exception {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
ClassMap.java | 17 * {@link Map}-like interface for mapping {@link Class} to value. 22 public final class ClassMap<V> { 40 public void put(Class<?> key, V value) { 44 public V get(Class<?> key) { 48 public void remove(Class<?> key) { 61 private Map<Class<?>, V> getMap(Class<?> key) { 67 private Map<Class<?>, V> getMap(ClassLoader classLoader) { 70 map = new HashMap<Class<?>, V>(); 73 return (Map<Class<?>, V>) map [all...] |
/external/emma/core/java12/com/vladium/util/exception/ |
Exceptions.java | 16 abstract class Exceptions 20 public static boolean unexpectedFailure (final Throwable t, final Class [] expected) 25 final Class reClass = t.getClass (); 44 private Exceptions () {} // this class is not extendible 46 } // end of class
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
GenericLoaderFactory.java | 10 * Maintain a map of model class to factory to retrieve a {@link ModelLoaderFactory} and/or a {@link ModelLoader} 13 public class GenericLoaderFactory { 14 private Map<Class, Map<Class, ModelLoaderFactory>> modelClassToResourceFactories = 15 new HashMap<Class, Map<Class, ModelLoaderFactory>>(); 16 private Map<Class, Map<Class, ModelLoader>> cachedModelLoaders = 17 new HashMap<Class, Map<Class, ModelLoader>>() [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
IteratorTestSuiteBuilder.java | 30 public class IteratorTestSuiteBuilder<E> 34 @Override protected List<Class<? extends AbstractTester>> getTesters() { 35 return Collections.<Class<? extends AbstractTester>>singletonList( 36 ExampleIteratorTester.class);
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
NewInstanceInstantiator.java | 22 * The simplest instantiator - simply calls Class.newInstance(). This can deal with default public 28 public class NewInstanceInstantiator implements ObjectInstantiator { 30 private final Class type; 32 public NewInstanceInstantiator(Class type) {
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
AssignableFrom.java | 21 class AssignableFrom implements Predicate<TestMethod> { 23 private final Class root; 25 AssignableFrom(Class root) {
|
/libcore/libart/src/main/java/dalvik/system/ |
VMStack.java | 20 * Provides a limited interface to the Dalvik VM stack. This class is mostly 25 public final class VMStack { 27 * Returns the defining class loader of the caller's caller. 29 * @return the requested class loader, or {@code null} if this is the 30 * bootstrap class loader. 35 * Returns the class of the caller's caller. 37 * @return the requested class, or {@code null}. 39 public static Class<?> getStackClass1() { 44 * Returns the class of the caller's caller's caller. 46 * @return the requested class, or {@code null} [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
AnnotatedElement.java | 40 <T extends Annotation> T getAnnotation(Class<T> annotationType); 70 boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/ |
Test_b2.java | 22 public class Test_b2 extends DxTestCase { 30 Class.forName("dot.junit.verify.b2.d.T_b2_1"); 43 Class.forName("dot.junit.verify.b2.d.T_b2_2"); 56 Class.forName("dot.junit.verify.b2.d.T_b2_3"); 69 Class.forName("dot.junit.verify.b2.d.T_b2_4"); 82 Class.forName("dot.junit.verify.b2.d.T_b2_5");
|
/external/clang/test/SemaTemplate/ |
instantiate-non-type-template-parameter.cpp | 6 class StringSwitch { 18 template<class Class,typename Type,Type Class::*> 23 template<class Class,typename Type,Type Class::*PtrToMember> 24 struct member: non_const_member_base<Class,Type,PtrToMember>
|
/external/hamcrest/library/src/org/hamcrest/ |
TypeSafeMatcher.java | 6 * Convenient base class for Matchers that require a non-null value of a specific type. 11 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> { 13 private Class expectedType; 25 private static Class<?> findExpectedType(Class<?> fromClass) { 26 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { 43 protected TypeSafeMatcher(Class<T> expectedType) {
|
/external/junit/src/org/junit/internal/matchers/ |
TypeSafeMatcher.java | 8 * Convenient base class for Matchers that require a non-null value of a specific type. 13 public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> { 15 private Class<?> expectedType; 27 private static Class<?> findExpectedType(Class<?> fromClass) { 28 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { 45 protected TypeSafeMatcher(Class<T> expectedType) {
|
/external/mockito/src/org/mockito/internal/runners/util/ |
RunnerProvider.java | 12 public class RunnerProvider {
18 Class.forName("org.junit.runners.BlockJUnit4ClassRunner");
29 public RunnerImpl newInstance(String runnerClassName, Class<?> constructorParam) throws Exception {
32 Class<?> runnerClass = Class.forName(runnerClassName);
33 constructor = runnerClass.getConstructor(Class.class.getClass());
|
/external/objenesis/main/src/org/objenesis/instantiator/gcj/ |
GCJInstantiatorBase.java | 26 * Base class for GCJ-based instantiators. It initializes reflection access to method
32 public abstract class GCJInstantiatorBase implements ObjectInstantiator {
36 private static class DummyStream extends ObjectInputStream {
44 newObjectMethod = ObjectInputStream.class.getDeclaredMethod("newObject", new Class[] {
45 Class.class, Class.class});
61 protected final Class type; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/ |
ClassNameResolver.java | 3 public class ClassNameResolver<T> { 12 public Class<? extends T> resolve() { 13 Class<? extends T> aClass; 24 throw new RuntimeException("Could not find a class for package: " 25 + packageName + " and class name: " + className); 34 private Class<? extends T> safeClassForName(String classNamePath) { 36 return (Class<? extends T>) Class.forName(classNamePath);
|
/frameworks/base/core/java/android/util/ |
Property.java | 25 * @param <T> The class on which the property is declared. 28 public abstract class Property<T, V> { 31 private final Class<V> mType; 34 * This factory method creates and returns a Property given the <code>class</code> and 37 * <li>a public <code>getName()</code> method on the class which takes no arguments, plus an 40 * <li>a public <code>isName()</code> method on the class which takes no arguments, plus an 43 * <li>a public <code>name</code> field on the class 46 * <p>If either of the get/is method alternatives is found on the class, but an appropriate 51 * <p>If neither the methods nor the field are found on the class a 54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) [all...] |