HomeSort by relevance Sort by last modified time
    Searched refs:Class (Results 51 - 75 of 2182) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/junit/src/org/junit/internal/requests/
ClassRequest.java 8 public class ClassRequest extends Request {
9 private final Class<?> fTestClass;
13 public ClassRequest(Class<?> testClass, boolean canUseSuiteMethod) {
18 public ClassRequest(Class<?> testClass) {
  /libcore/luni/src/main/java/java/lang/
EnumConstantNotPresentException.java 24 public class EnumConstantNotPresentException extends RuntimeException {
29 private final Class<? extends Enum> enumType;
44 public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName) {
56 public Class<? extends Enum> enumType() {
Void.java 24 * Placeholder class for the Java keyword {@code void}.
28 public final class Void {
31 * The {@link Class} object that represents the primitive type {@code void}.
33 public static final Class<Void> TYPE = lookupType();
34 // Note: Void.TYPE can't be set to "void.class", since *that* is
38 private static Class<Void> lookupType() {
40 Method method = Runnable.class.getMethod("run", EmptyArray.CLASS);
41 return (Class<Void>) method.getReturnType();
  /libcore/luni/src/main/java/java/util/
IllegalFormatConversionException.java 29 public class IllegalFormatConversionException extends IllegalFormatException
35 private final Class<?> arg;
38 * Constructs a new {@code IllegalFormatConversionException} with the class
42 * the class of the mismatched conversion.
46 public IllegalFormatConversionException(char c, Class<?> arg) {
55 * Returns the class of the mismatched parameter.
57 * @return the class of the mismatched parameter.
59 public Class<?> getArgumentClass() {
  /art/test/004-UnsafeTest/
unsafe_test.cc 20 #include "mirror/class.h"
21 #include "mirror/class-inl.h"
29 mirror::Class* klass = soa.Decode<mirror::Class*>(classObj);
36 mirror::Class* klass = soa.Decode<mirror::Class*>(classObj);
  /external/javassist/sample/evolve/
Sample.java 4 * This is a sample class used by Transformer.
6 public class Sample {
7 public static Class _version;
  /external/libcxx/test/utilities/meta/meta.unary/meta.unary.comp/
member_function_pointer.pass.cpp 16 template <class T>
28 template <class T>
37 class Class
43 test_member_function_pointer<void (Class::*)()>();
44 test_member_function_pointer<void (Class::*)(int)>();
45 test_member_function_pointer<void (Class::*)(int, char)>();
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
Converter.java 19 Object convert(Object value, Class target, Object context);
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
MixinBeanEmitter.java 27 class MixinBeanEmitter extends MixinEmitter {
28 public MixinBeanEmitter(ClassVisitor v, String className, Class[] classes) {
32 protected Class[] getInterfaces(Class[] classes) {
36 protected Method[] getMethods(Class type) {
  /external/mockito/src/org/mockito/internal/util/reflection/
GenericMaster.java 12 public class GenericMaster {
15 * Finds the generic type (parametrized type) of the field. If the field is not generic it returns Object.class.
19 public Class getGenericType(Field field) {
23 if (actual instanceof Class) {
24 return (Class) actual;
27 return (Class) ((ParameterizedType) actual).getRawType();
31 return Object.class;
  /external/objenesis/main/src/org/objenesis/
ObjenesisHelper.java 23 * Use Objenesis in a static way. <strong>It is strongly not recommended to use this class.</strong>
27 public final class ObjenesisHelper {
39 * @param clazz Class to instantiate
42 public static Object newInstance(Class clazz) {
48 * constructor of the first non serializable class will be called)
50 * @param clazz Class to instantiate
53 public static Serializable newSerializableInstance(Class clazz) {
58 * Will pick the best instantiator for the provided class. If you need to create a lot of
59 * instances from the same class, it is way more efficient to create them from the same
60 * ObjectInstantiator than calling {@link #newInstance(Class)}.
    [all...]
  /external/objenesis/main/src/org/objenesis/instantiator/basic/
AccessibleInstantiator.java 19 * Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
26 public class AccessibleInstantiator extends ConstructorInstantiator {
28 public AccessibleInstantiator(Class type) {
  /external/objenesis/main/src/org/objenesis/strategy/
InstantiatorStrategy.java 21 * Defines a strategy to determine the best instantiator for a class.
28 * Create a dedicated instantiator for the given class
30 * @param type Class that will be instantiate
33 ObjectInstantiator newInstantiatorOf(Class type);
  /frameworks/base/core/java/com/android/server/
LocalServices.java 22 * This class is used in a similar way as ServiceManager, except the services registered here
25 * Once all services are converted to the SystemService interface, this class can be absorbed
30 public final class LocalServices {
33 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects =
34 new ArrayMap<Class<?>, Object>();
43 public static <T> T getService(Class<T> type) {
52 public static <T> void addService(Class<T> type, T service) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ClassPresenterSelector.java 20 * Java class.
22 public final class ClassPresenterSelector extends PresenterSelector {
24 private final HashMap<Class<?>, Presenter> mClassMap = new HashMap<Class<?>, Presenter>();
26 public void addClassPresenter(Class<?> cls, Presenter presenter) {
32 Class<?> cls = item.getClass();
  /libcore/luni/src/main/java/java/lang/annotation/
Annotation.java 33 * @return A {@code Class} instance representing the annotation type.
35 Class<? extends Annotation> annotationType();
  /libcore/luni/src/main/java/java/lang/reflect/
Member.java 21 * Common interface providing access to reflective information on class members.
30 * Designates all public members of a class or interface (including
36 * Designates all declared members of a class or interface (without
42 * Returns the class that declares this member.
44 * @return the declaring class
47 Class<?> getDeclaringClass();
50 * Returns the modifiers for this member. The {@link Modifier} class should
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.comp/
member_function_pointer.pass.cpp 16 template <class T>
28 template <class T>
37 class Class
43 test_member_function_pointer<void (Class::*)()>();
44 test_member_function_pointer<void (Class::*)(int)>();
45 test_member_function_pointer<void (Class::*)(int, char)>();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
LogFactory.java 22 public final class LogFactory {
26 public static Log getLog(Class clazz) {
  /external/objenesis/main/src/org/objenesis/instantiator/sun/
SunReflectionFactoryHelper.java 32 class SunReflectionFactoryHelper {
34 public static Constructor newConstructorForSerialization(Class type, Constructor constructor) {
35 Class reflectionFactoryClass = getReflectionFactoryClass();
56 private static Class getReflectionFactoryClass() {
58 return Class.forName("sun.reflect.ReflectionFactory");
65 private static Object createReflectionFactory(Class reflectionFactoryClass) {
68 "getReflectionFactory", new Class[] {});
85 private static Method getNewConstructorForSerializationMethod(Class reflectionFactoryClass) {
88 "newConstructorForSerialization", new Class[] {Class.class, Constructor.class})
    [all...]
  /external/junit/src/org/junit/experimental/categories/
Categories.java 25 * Categories must be annotated on the direct method or class.
36 * public static class A {
42 * &#064;Category(SlowTests.class)
48 * &#064;Category( { SlowTests.class, FastTests.class })
49 * public static class B {
56 * &#064;RunWith(Categories.class)
57 * &#064;IncludeCategory(SlowTests.class)
58 * &#064;SuiteClasses( { A.class, B.class })
    [all...]
  /external/junit/src/org/junit/runners/model/
TestClass.java 19 * Wraps a class to be run, providing method validation and annotation searching
21 public class TestClass {
22 private final Class<?> fClass;
24 private Map<Class<?>, List<FrameworkMethod>> fMethodsForAnnotations= new HashMap<Class<?>, List<FrameworkMethod>>();
26 private Map<Class<?>, List<FrameworkField>> fFieldsForAnnotations= new HashMap<Class<?>, List<FrameworkField>>();
30 * constructor executes, the class is scanned for annotations, which can be
34 public TestClass(Class<?> klass) {
38 "Test class can only have one constructor")
    [all...]
  /external/mockito/src/org/mockito/internal/util/
Primitives.java 11 public class Primitives {
13 private static Map<Class<?>, Class<?>> primitiveTypes = new HashMap<Class<?>, Class<?>>();
14 private static Map<Class<?>, Object> primitiveOrWrapperDefaultValues = new HashMap<Class<?>, Object>();
18 * Returns the primitive type of the given class.
20 * The passed class can be any class : <code>boolean.class</code>, <code>Integer.class</code>
    [all...]
  /external/clang/test/SemaCXX/
expression-traits.cpp 19 // a macro), except at class scope
36 // Note: these asserts cannot be made at class scope in C++03. Put
180 struct Class : BaseClass
185 template <class T>
188 template <class T>
191 template <class T>
196 template <class T>
211 Class();
212 Class(int,int);
227 ASSERT_LVALUE(::Class::function); // qualified-id: functio
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassTest.java 39 public class ClassTest extends junit.framework.TestCase {
47 ClassTest.class.getPackage().getName().replace('.', '/');
52 public static class TestClass {
83 public static class SubTestClass extends TestClass {
87 * java.lang.Class#forName(java.lang.String)
90 assertSame("Class for name failed for java.lang.Object",
91 Object.class, Class.forName("java.lang.Object"));
92 assertSame("Class for name failed for [[Ljava.lang.Object;",
93 Object[][].class, Class.forName("[[Ljava.lang.Object;"))
    [all...]

Completed in 1463 milliseconds

1 23 4 5 6 7 8 91011>>