2015-03-13 18:52:59 +00:00
|
|
|
/* Copyright (c) 2008-2015, Avian Contributors
|
2010-09-01 16:13:52 +00:00
|
|
|
|
|
|
|
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 19:41:31 +00:00
|
|
|
public int runtimeDataIndex;
|
2010-09-01 16:13:52 +00:00
|
|
|
public byte[] name;
|
|
|
|
public byte[] spec;
|
2010-09-10 21:05:29 +00:00
|
|
|
public MethodAddendum addendum;
|
2010-09-01 16:13:52 +00:00
|
|
|
public VMClass class_;
|
2014-06-28 04:00:05 +00:00
|
|
|
public Code code;
|
2012-05-22 20:00:31 +00:00
|
|
|
|
|
|
|
public boolean hasAnnotations() {
|
|
|
|
return addendum != null && addendum.annotationTable != null;
|
|
|
|
}
|
2010-09-01 16:13:52 +00:00
|
|
|
}
|