Skip to content

Commit

Permalink
[java.lang] add AccessibleObject (#145)
Browse files Browse the repository at this point in the history
* add AccessibleObject

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* fixes and additions

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
  • Loading branch information
J-N-K authored Jul 15, 2021
1 parent 89c2c4c commit 432730b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libraries/java/java/lang/Class.eea
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ getAnnotatedSuperclass
()L0java/lang/reflect/AnnotatedType;
getAnnotation
<A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
<A::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TA;>;)TA;
<A::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TA;>;)T0A;
getAnnotations
()[Ljava/lang/annotation/Annotation;
()[1L1java/lang/annotation/Annotation;
Expand All @@ -49,7 +49,7 @@ getConstructors
()[1L1java/lang/reflect/Constructor<*>;
getDeclaredAnnotation
<A::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TA;>;)TA;
<A::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TA;>;)T1A;
<A::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TA;>;)T0A;
getDeclaredAnnotations
()[Ljava/lang/annotation/Annotation;
()[1L1java/lang/annotation/Annotation;
Expand Down
19 changes: 19 additions & 0 deletions libraries/java/java/lang/reflect/AccessibleObject.eea
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class java/lang/reflect/AccessibleObject
getAnnotation
<T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)TT;
<T::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TT;>;)T0T;
getAnnotations
()[Ljava/lang/annotation/Annotation;
()[1L1java/lang/annotation/Annotation;
getAnnotationsByType
<T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)[TT;
<T::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TT;>;)[1T1T;
getDeclaredAnnotation
<T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)TT;
<T::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TT;>;)T0T;
getDeclaredAnnotations
()[Ljava/lang/annotation/Annotation;
()[1L1java/lang/annotation/Annotation;
getDeclaredAnnotationsByType
<T::Ljava/lang/annotation/Annotation;>(Ljava/lang/Class<TT;>;)[TT;
<T::Ljava/lang/annotation/Annotation;>(L1java/lang/Class<TT;>;)[1T1T;
4 changes: 2 additions & 2 deletions libraries/java/java/lang/reflect/Method.eea
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class java/lang/reflect/Method
equals
(Ljava/lang/Object;)Z
(Ljava/lang/Object;)Z
(L0java/lang/Object;)Z
getAnnotatedReturnType
()Ljava/lang/reflect/AnnotatedType;
()L1java/lang/reflect/AnnotatedType;
Expand Down Expand Up @@ -46,7 +46,7 @@ getTypeParameters
()[1L1java/lang/reflect/TypeVariable<Ljava/lang/reflect/Method;>;
invoke
(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(L0java/lang/Object;[0L0java/lang/Object;)L0java/lang/Object;
(L1java/lang/Object;[0L0java/lang/Object;)L0java/lang/Object;
toGenericString
()Ljava/lang/String;
()L1java/lang/String;
Expand Down

0 comments on commit 432730b

Please sign in to comment.