Searched refs:Class (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/java/sql/
H A DWrapper.java39 <T> T unwrap(Class<T> iface) throws SQLException;
51 boolean isWrapperFor(Class<?> iface) throws SQLException;
H A DArray.java70 public Object getArray(long index, int count, Map<String, Class<?>> map)
83 public Object getArray(Map<String, Class<?>> map) throws SQLException;
150 Map<String, Class<?>> map) throws SQLException;
163 public ResultSet getResultSet(Map<String, Class<?>> map)
H A DStruct.java66 public Object[] getAttributes(Map<String, Class<?>> theMap)
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestSink.java26 public void addTest(Class test);
H A DXalanDOMTestDocumentBuilderFactory.java69 Class xpathClass = Class.forName(
71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class});
/libcore/dalvik/src/main/java/dalvik/system/
H A DVMStack.java39 native public static Class<?> getStackClass2();
59 native public static Class<?>[] getClasses(int maxDepth);
/libcore/luni/src/main/java/java/lang/annotation/
H A DIncompleteAnnotationException.java31 private Class<? extends Annotation> annotationType;
44 public IncompleteAnnotationException(Class<? extends Annotation> annotationType,
55 * @return a Class instance.
57 public Class<? extends Annotation> annotationType() {
H A DAnnotation.java33 * @return A {@code Class} instance representing the annotation type.
35 Class<? extends Annotation> annotationType();
/libcore/luni/src/main/java/java/lang/
H A DEnumConstantNotPresentException.java29 private final Class<? extends Enum> enumType;
44 public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName) {
56 public Class<? extends Enum> enumType() {
H A DVoid.java31 * The {@link Class} object that represents the primitive type {@code void}.
33 public static final Class<Void> TYPE = lookupType();
38 private static Class<Void> lookupType() {
41 return (Class<Void>) method.getReturnType();
H A DClass.java65 * called "reflection". There are basically three types of {@code Class}
69 * <h4>Class instances representing object types (classes or interfaces)</h4>
72 * hierarchy. The name associated with these {@code Class} instances is simply
83 * not possible to create new instances based on these {@code Class} instances,
85 * component type of array classes. There is one {@code Class} instance for each
102 * These represent the classes of Java arrays. There is one such {@code Class}
104 * dimensions). In this case, the name associated with the {@code Class}
108 * {@code Class} representing an array type is the same as its name. Examples
117 public final class Class<T> implements Serializable, AnnotatedElement, GenericDeclaration, Type { class in inherits:Serializable,AnnotatedElement,GenericDeclaration,Type
126 private Class() { method in class:Class
[all...]
H A DCompiler.java51 * java.lang.Class the class to JIT compile
56 public static boolean compileClass(Class<?> classToCompile) {
H A DInstantiationError.java55 InstantiationError(Class<?> clazz) {
H A DInstantiationException.java52 InstantiationException(Class<?> clazz) {
H A DEnum.java34 private static final BasicLruCache<Class<? extends Enum>, Object[]> sharedConstantsCache
35 = new BasicLruCache<Class<? extends Enum>, Object[]>(64) {
36 @Override protected Object[] create(Class<? extends Enum> enumType) {
40 Method method = (Method) Class.getDeclaredConstructorOrMethod(
159 public final Class<E> getDeclaringClass() {
160 Class<?> myClass = getClass();
161 Class<?> mySuperClass = myClass.getSuperclass();
163 return (Class<E>)myClass;
165 return (Class<E>)mySuperClass;
183 public static <T extends Enum<T>> T valueOf(Class<
[all...]
/libcore/luni/src/main/java/java/util/
H A DIllegalFormatConversionException.java35 private final Class<?> arg;
46 public IllegalFormatConversionException(char c, Class<?> arg) {
59 public Class<?> getArgumentClass() {
/libcore/luni/src/test/java/libcore/java/lang/
H A DClassNotFoundExceptionTest.java25 Class.forName("[V");
34 Class.forName("blort.Zorch");
43 Class.forName("[[Lblort.Zorch;");
/libcore/luni/src/main/java/java/lang/reflect/
H A DMember.java47 Class<?> getDeclaringClass();
H A DAnnotatedElement.java40 <T extends Annotation> T getAnnotation(Class<T> annotationType);
70 boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
H A DField.java64 private Class<?> declaringClass;
66 private Class<?> type;
106 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) {
142 native private Object[] getSignatureAnnotation(Class declaringClass, int slot);
206 private static native Annotation[] getDeclaredAnnotations(Class declaringClass, int slot);
208 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
215 Class<?> declaringClass, int slot, Class<A> annotationType);
217 @Override public boolean isAnnotationPresent(Class<
[all...]
H A DProxy.java39 private static final Map<ClassLoader, Map<String, WeakReference<Class<?>>>> loaderCache = new WeakHashMap<ClassLoader, Map<String, WeakReference<Class<?>>>>();
42 private static final Map<Class<?>, String> proxyCache = new WeakHashMap<Class<?>, String>();
67 * Returns the dynamically built {@code Class} for the specified interfaces.
68 * Creates a new {@code Class} when necessary. The order of the interfaces
77 * an array of {@code Class} objects, each one identifying an
88 public static Class<?> getProxyClass(ClassLoader loader,
89 Class<?>... interfaces) throws IllegalArgumentException {
96 Class<
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DEmptyArray.java28 public static final Class<?>[] CLASS = new Class[0];
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DConstructorTest.java24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]);
25 Class[] exceptions = constructor.getExceptionTypes();
36 Class[] expectedParameters = new Class[] { Object.class };
38 Class[] parameters = constructor.getParameterTypes();
49 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor((Class[]) null);
55 ConstructorTestHelper.class.getConstructor(new Class[] { null });
/libcore/luni/src/main/java/java/io/
H A DObjectStreamField.java60 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.
179 public Class<
[all...]
/libcore/dalvik/src/main/java/dalvik/annotation/
H A DTestTargetNew.java45 Class<?>[] args() default {};
52 Class<?> clazz() default void.class;

Completed in 4433 milliseconds

1234567891011>>