publicstatic VariableDescription GetVariableAtLocation(
Executable e, String name, String sig, long loc) {
VariableDescription[] vars = GetLocalVariableTable(e); for (VariableDescription var : vars) { if (var.start_location <= loc && var.length + var.start_location > loc && var.name.equals(name) && var.signature.equals(sig)) { returnvar;
}
} thrownew Error( "Unable to find variable " + name + " (sig: " + sig + ") in " + e + " at loc " + loc);
}
publicstaticnativeint GetLocalVariableInt(Thread thr, int depth, int slot); publicstaticnativelong GetLocalVariableLong(Thread thr, int depth, int slot); publicstaticnativefloat GetLocalVariableFloat(Thread thr, int depth, int slot); publicstaticnativedouble GetLocalVariableDouble(Thread thr, int depth, int slot); publicstaticnative Object GetLocalVariableObject(Thread thr, int depth, int slot); publicstaticnative Object GetLocalInstance(Thread thr, int depth);
publicstaticvoid SetLocalVariableInt(Thread thr, int depth, int slot, Object val) {
SetLocalVariableInt(thr, depth, slot, ((Number)val).intValue());
} publicstaticvoid SetLocalVariableLong(Thread thr, int depth, int slot, Object val) {
SetLocalVariableLong(thr, depth, slot, ((Number)val).longValue());
} publicstaticvoid SetLocalVariableFloat(Thread thr, int depth, int slot, Object val) {
SetLocalVariableFloat(thr, depth, slot, ((Number)val).floatValue());
} publicstaticvoid SetLocalVariableDouble(Thread thr, int depth, int slot, Object val) {
SetLocalVariableDouble(thr, depth, slot, ((Number)val).doubleValue());
} publicstaticnativevoid SetLocalVariableInt(Thread thr, int depth, int slot, int val); publicstaticnativevoid SetLocalVariableLong(Thread thr, int depth, int slot, long val); publicstaticnativevoid SetLocalVariableFloat(Thread thr, int depth, int slot, float val); publicstaticnativevoid SetLocalVariableDouble(Thread thr, int depth, int slot, double val); publicstaticnativevoid SetLocalVariableObject(Thread thr, int depth, int slot, Object val);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.