IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
RuntimeByteCodeJavaType.DynamicImpl.cs
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2015 Jeroen Frijters
3
4 This software is provided 'as-is', without any express or implied
5 warranty. In no event will the authors be held liable for any damages
6 arising from the use of this software.
7
8 Permission is granted to anyone to use this software for any purpose,
9 including commercial applications, and to alter it and redistribute it
10 freely, subject to the following restrictions:
11
12 1. The origin of this software must not be misrepresented; you must not
13 claim that you wrote the original software. If you use this software
14 in a product, an acknowledgment in the product documentation would be
15 appreciated but is not required.
16 2. Altered source versions must be plainly marked as such, and must not be
17 misrepresented as being the original software.
18 3. This notice may not be removed or altered from any source distribution.
19
20 Jeroen Frijters
21 jeroen@frijters.net
22
23*/
24using System;
25
26using IKVM.Attributes;
27
28#if IMPORTER
29using IKVM.Reflection;
30
31using Type = IKVM.Reflection.Type;
32#else
33using System.Reflection;
34#endif
35
36namespace IKVM.Runtime
37{
38
39 partial class RuntimeByteCodeJavaType
40 {
41
42 private abstract class DynamicImpl
43 {
44
45 internal abstract Type Type { get; }
46 internal abstract RuntimeJavaType[] InnerClasses { get; }
47 internal abstract RuntimeJavaType DeclaringTypeWrapper { get; }
48 internal abstract Modifiers ReflectiveModifiers { get; }
49 internal abstract DynamicImpl Finish();
50 internal abstract MethodBase LinkMethod(RuntimeJavaMethod mw);
51 internal abstract FieldInfo LinkField(RuntimeJavaField fw);
52 internal abstract void EmitRunClassConstructor(CodeEmitter ilgen);
53 internal abstract string GetGenericSignature();
54 internal abstract string[] GetEnclosingMethod();
55 internal abstract string GetGenericMethodSignature(int index);
56 internal abstract string GetGenericFieldSignature(int index);
57 internal abstract object[] GetDeclaredAnnotations();
58 internal abstract object GetMethodDefaultValue(int index);
59 internal abstract object[] GetMethodAnnotations(int index);
60 internal abstract object[][] GetParameterAnnotations(int index);
61 internal abstract MethodParametersEntry[] GetMethodParameters(int index);
62 internal abstract object[] GetFieldAnnotations(int index);
63 internal abstract MethodInfo GetFinalizeMethod();
64 internal abstract object[] GetConstantPool();
65 internal abstract byte[] GetRawTypeAnnotations();
66 internal abstract byte[] GetMethodRawTypeAnnotations(int index);
67 internal abstract byte[] GetFieldRawTypeAnnotations(int index);
68 internal abstract RuntimeJavaType Host { get; }
69
70 }
71
72 }
73
74}
IKVM.Reflection.Type Type
IKVM.Reflection.FieldInfo FieldInfo
IKVM.Reflection.MethodInfo MethodInfo
IKVM.Reflection.MethodBase MethodBase