2010-09-01 10:13:52 -06:00
|
|
|
/* 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 VMMethod {
|
|
|
|
public byte vmFlags;
|
|
|
|
public byte returnCode;
|
|
|
|
public byte parameterCount;
|
|
|
|
public byte parameterFootprint;
|
|
|
|
public short flags;
|
|
|
|
public short offset;
|
|
|
|
public int nativeID;
|
2010-11-26 12:41:31 -07:00
|
|
|
public int runtimeDataIndex;
|
2010-09-01 10:13:52 -06:00
|
|
|
public byte[] name;
|
|
|
|
public byte[] spec;
|
2010-09-10 15:05:29 -06:00
|
|
|
public MethodAddendum addendum;
|
2010-09-01 10:13:52 -06:00
|
|
|
public VMClass class_;
|
|
|
|
public Object code;
|
2012-05-22 14:00:31 -06:00
|
|
|
|
|
|
|
public boolean hasAnnotations() {
|
|
|
|
return addendum != null && addendum.annotationTable != null;
|
|
|
|
}
|
2010-09-01 10:13:52 -06:00
|
|
|
}
|