1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 package java.lang.reflect;
28 
29 import android.compat.annotation.UnsupportedAppUsage;
30 
31 @SuppressWarnings({"unchecked", "deprecation", "all"})
32 public class AccessibleObject implements java.lang.reflect.AnnotatedElement {
33 
AccessibleObject()34     protected AccessibleObject() {
35         throw new RuntimeException("Stub!");
36     }
37 
setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag)38     public static void setAccessible(java.lang.reflect.AccessibleObject[] array, boolean flag)
39             throws java.lang.SecurityException {
40         throw new RuntimeException("Stub!");
41     }
42 
setAccessible(boolean flag)43     public void setAccessible(boolean flag) throws java.lang.SecurityException {
44         throw new RuntimeException("Stub!");
45     }
46 
setAccessible0(java.lang.reflect.AccessibleObject obj, boolean flag)47     private static void setAccessible0(java.lang.reflect.AccessibleObject obj, boolean flag)
48             throws java.lang.SecurityException {
49         throw new RuntimeException("Stub!");
50     }
51 
isAccessible()52     public boolean isAccessible() {
53         throw new RuntimeException("Stub!");
54     }
55 
getAnnotation( java.lang.Class<T> annotationClass)56     public <T extends java.lang.annotation.Annotation> T getAnnotation(
57             java.lang.Class<T> annotationClass) {
58         throw new RuntimeException("Stub!");
59     }
60 
isAnnotationPresent( java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)61     public boolean isAnnotationPresent(
62             java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) {
63         throw new RuntimeException("Stub!");
64     }
65 
getAnnotationsByType( java.lang.Class<T> annotationClass)66     public <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(
67             java.lang.Class<T> annotationClass) {
68         throw new RuntimeException("Stub!");
69     }
70 
getAnnotations()71     public java.lang.annotation.Annotation[] getAnnotations() {
72         throw new RuntimeException("Stub!");
73     }
74 
getDeclaredAnnotation( java.lang.Class<T> annotationClass)75     public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(
76             java.lang.Class<T> annotationClass) {
77         throw new RuntimeException("Stub!");
78     }
79 
getDeclaredAnnotationsByType( java.lang.Class<T> annotationClass)80     public <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(
81             java.lang.Class<T> annotationClass) {
82         throw new RuntimeException("Stub!");
83     }
84 
getDeclaredAnnotations()85     public java.lang.annotation.Annotation[] getDeclaredAnnotations() {
86         throw new RuntimeException("Stub!");
87     }
88 
89     @UnsupportedAppUsage
90     boolean override;
91 }
92