IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Runtime.MethodAnalyzerFactory Class Reference

Provides instances of MethodAnalyzer. More...

Public Member Functions

 MethodAnalyzerFactory (RuntimeContext context)
 Initializes a new instance.
 
MethodAnalyzer Create (RuntimeJavaType host, RuntimeJavaType wrapper, RuntimeJavaMethod mw, ClassFile classFile, ClassFile.Method method, RuntimeClassLoader classLoader)
 Creates a new MethodAnalyzer.
 

Public Attributes

readonly RuntimeJavaType ByteArrayType
 
readonly RuntimeJavaType BooleanArrayType
 
readonly RuntimeJavaType ShortArrayType
 
readonly RuntimeJavaType CharArrayType
 
readonly RuntimeJavaType IntArrayType
 
readonly RuntimeJavaType FloatArrayType
 
readonly RuntimeJavaType DoubleArrayType
 
readonly RuntimeJavaType LongArrayType
 
readonly RuntimeJavaType JavaLangThreadDeathType
 

Detailed Description

Provides instances of MethodAnalyzer.

Definition at line 36 of file MethodAnalyzerFactory.cs.

Constructor & Destructor Documentation

◆ MethodAnalyzerFactory()

IKVM.Runtime.MethodAnalyzerFactory.MethodAnalyzerFactory ( RuntimeContext context)

Initializes a new instance.

Parameters
context

Definition at line 55 of file MethodAnalyzerFactory.cs.

56 {
57 _context = context ?? throw new ArgumentNullException(nameof(context));
58 ByteArrayType = context.PrimitiveJavaTypeFactory.BYTE.MakeArrayType(1);
59 BooleanArrayType = context.PrimitiveJavaTypeFactory.BOOLEAN.MakeArrayType(1);
60 ShortArrayType = context.PrimitiveJavaTypeFactory.SHORT.MakeArrayType(1);
61 CharArrayType = context.PrimitiveJavaTypeFactory.CHAR.MakeArrayType(1);
62 IntArrayType = context.PrimitiveJavaTypeFactory.INT.MakeArrayType(1);
63 FloatArrayType = context.PrimitiveJavaTypeFactory.FLOAT.MakeArrayType(1);
64 DoubleArrayType = context.PrimitiveJavaTypeFactory.DOUBLE.MakeArrayType(1);
65 LongArrayType = context.PrimitiveJavaTypeFactory.LONG.MakeArrayType(1);
66 JavaLangThreadDeathType = context.ClassLoaderFactory.LoadClassCritical("java.lang.ThreadDeath");
67 }
readonly RuntimeJavaType JavaLangThreadDeathType
readonly RuntimeJavaType BooleanArrayType

Member Function Documentation

◆ Create()

MethodAnalyzer IKVM.Runtime.MethodAnalyzerFactory.Create ( RuntimeJavaType host,
RuntimeJavaType wrapper,
RuntimeJavaMethod mw,
ClassFile classFile,
ClassFile.Method method,
RuntimeClassLoader classLoader )

Creates a new MethodAnalyzer.

Parameters
host
wrapper
mw
classFile
method
classLoader
Returns

Definition at line 79 of file MethodAnalyzerFactory.cs.

80 {
81 return new MethodAnalyzer(_context, host, wrapper, mw, classFile, method, classLoader);
82 }

Member Data Documentation

◆ BooleanArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.BooleanArrayType

Definition at line 42 of file MethodAnalyzerFactory.cs.

◆ ByteArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.ByteArrayType

Definition at line 41 of file MethodAnalyzerFactory.cs.

◆ CharArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.CharArrayType

Definition at line 44 of file MethodAnalyzerFactory.cs.

◆ DoubleArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.DoubleArrayType

Definition at line 47 of file MethodAnalyzerFactory.cs.

◆ FloatArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.FloatArrayType

Definition at line 46 of file MethodAnalyzerFactory.cs.

◆ IntArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.IntArrayType

Definition at line 45 of file MethodAnalyzerFactory.cs.

◆ JavaLangThreadDeathType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.JavaLangThreadDeathType

Definition at line 49 of file MethodAnalyzerFactory.cs.

◆ LongArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.LongArrayType

Definition at line 48 of file MethodAnalyzerFactory.cs.

◆ ShortArrayType

readonly RuntimeJavaType IKVM.Runtime.MethodAnalyzerFactory.ShortArrayType

Definition at line 43 of file MethodAnalyzerFactory.cs.


The documentation for this class was generated from the following file: