mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
17c1a552d5
In order to facilitate making the VM compatible with multiple class libraries, it's useful to separate the VM-specific representation of these classes from the library implementations. This commit introduces VMClass, VMField, and VMMethod for that purpose.
31 lines
867 B
Java
31 lines
867 B
Java
/* Copyright (c) 2008-2010, Avian Contributors
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted, provided
|
|
that the above copyright notice and this permission notice appear
|
|
in all copies.
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
details. */
|
|
|
|
package avian;
|
|
|
|
public class VMClass {
|
|
public short flags;
|
|
public short vmFlags;
|
|
public short fixedSize;
|
|
public byte arrayElementSize;
|
|
public byte arrayDimensions;
|
|
public int[] objectMask;
|
|
public byte[] name;
|
|
public byte[] sourceFile;
|
|
public VMClass super_;
|
|
public Object[] interfaceTable;
|
|
public VMMethod[] virtualTable;
|
|
public VMField[] fieldTable;
|
|
public VMMethod[] methodTable;
|
|
public volatile avian.ClassAddendum addendum;
|
|
public Object staticTable;
|
|
public ClassLoader loader;
|
|
}
|