rs-client: remove Export annotations

This commit is contained in:
therealnull
2020-10-04 20:53:17 -04:00
parent 74f628c10c
commit 19859b66ae
322 changed files with 64 additions and 3704 deletions

View File

@@ -1,7 +1,6 @@
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
@@ -11,34 +10,27 @@ import net.runelite.mapping.ObfuscatedSignature;
@Implements("BufferedSource")
public class BufferedSource implements Runnable {
@ObfuscatedName("z")
@Export("thread")
Thread thread;
@ObfuscatedName("k")
@Export("inputStream")
InputStream inputStream;
@ObfuscatedName("s")
@ObfuscatedGetter(
intValue = -1790809931
)
@Export("capacity")
int capacity;
@ObfuscatedName("t")
@Export("buffer")
byte[] buffer;
@ObfuscatedName("i")
@ObfuscatedGetter(
intValue = -264397639
)
@Export("position")
int position;
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = 1799802211
)
@Export("limit")
int limit;
@ObfuscatedName("x")
@Export("exception")
IOException exception;
BufferedSource(InputStream var1, int var2) {
@@ -57,7 +49,6 @@ public class BufferedSource implements Runnable {
descriptor = "(II)Z",
garbageValue = "-1870168211"
)
@Export("isAvailable")
boolean isAvailable(int var1) throws IOException {
if (var1 == 0) { // L: 106
return true;
@@ -91,7 +82,6 @@ public class BufferedSource implements Runnable {
descriptor = "(I)I",
garbageValue = "-1796836135"
)
@Export("available")
int available() throws IOException {
synchronized(this) { // L: 122
int var2;
@@ -115,7 +105,6 @@ public class BufferedSource implements Runnable {
descriptor = "(I)I",
garbageValue = "1217698749"
)
@Export("readUnsignedByte")
int readUnsignedByte() throws IOException {
synchronized(this) { // L: 135
if (this.position == this.limit) { // L: 136
@@ -138,7 +127,6 @@ public class BufferedSource implements Runnable {
descriptor = "([BIII)I",
garbageValue = "315484651"
)
@Export("read")
int read(byte[] var1, int var2, int var3) throws IOException {
if (var3 >= 0 && var2 >= 0 && var3 + var2 <= var1.length) { // L: 148
synchronized(this) { // L: 149
@@ -179,7 +167,6 @@ public class BufferedSource implements Runnable {
descriptor = "(I)V",
garbageValue = "-1698989409"
)
@Export("close")
void close() {
synchronized(this) { // L: 170
if (this.exception == null) {