mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Remove dumb comments containing only @author annotation
This commit is contained in:
parent
b477a7dcad
commit
cdec4560ba
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public final class Base64 {
|
public final class Base64 {
|
||||||
private static char[] alphabet = new char[64];
|
private static char[] alphabet = new char[64];
|
||||||
private static int[] reverse = new int[256];
|
private static int[] reverse = new int[256];
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl;
|
package org.teavm.classlib.impl;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CharFlow {
|
public class CharFlow {
|
||||||
public final char[] characters;
|
public final char[] characters;
|
||||||
public int pointer;
|
public int pointer;
|
||||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.model.ClassReader;
|
||||||
import org.teavm.model.MethodReference;
|
import org.teavm.model.MethodReference;
|
||||||
import org.teavm.platform.metadata.*;
|
import org.teavm.platform.metadata.*;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class DeclaringClassMetadataGenerator implements ClassScopedMetadataGenerator {
|
public class DeclaringClassMetadataGenerator implements ClassScopedMetadataGenerator {
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Resource> generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
public Map<String, Resource> generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.teavm.classlib.impl.unicode.CLDRReader;
|
import org.teavm.classlib.impl.unicode.CLDRReader;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class FirstDayOfWeekMetadataGenerator extends WeekMetadataGenerator {
|
public class FirstDayOfWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||||
@Override
|
@Override
|
||||||
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.teavm.classlib.impl.unicode.CLDRReader;
|
import org.teavm.classlib.impl.unicode.CLDRReader;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class MinimalDaysInFirstWeekMetadataGenerator extends WeekMetadataGenerator {
|
public class MinimalDaysInFirstWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||||
@Override
|
@Override
|
||||||
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
protected Map<String, Integer> getWeekData(CLDRReader reader) {
|
||||||
|
|
|
@ -39,10 +39,6 @@ import org.teavm.model.MethodDescriptor;
|
||||||
import org.teavm.model.MethodReference;
|
import org.teavm.model.MethodReference;
|
||||||
import org.teavm.model.ValueType;
|
import org.teavm.model.ValueType;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class ServiceLoaderSupport extends AbstractDependencyListener implements Generator {
|
public class ServiceLoaderSupport extends AbstractDependencyListener implements Generator {
|
||||||
private Set<String> achievedClasses = new HashSet<>();
|
private Set<String> achievedClasses = new HashSet<>();
|
||||||
private Map<String, List<String>> serviceMap = new HashMap<>();
|
private Map<String, List<String>> serviceMap = new HashMap<>();
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
|
||||||
import org.teavm.model.MethodReference;
|
import org.teavm.model.MethodReference;
|
||||||
import org.teavm.platform.metadata.*;
|
import org.teavm.platform.metadata.*;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class WeekMetadataGenerator implements MetadataGenerator {
|
public abstract class WeekMetadataGenerator implements MetadataGenerator {
|
||||||
@Override
|
@Override
|
||||||
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.platform.metadata.ResourceArray;
|
||||||
import org.teavm.platform.metadata.ResourceMap;
|
import org.teavm.platform.metadata.ResourceMap;
|
||||||
import org.teavm.platform.metadata.StringResource;
|
import org.teavm.platform.metadata.StringResource;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public final class CurrencyHelper {
|
public final class CurrencyHelper {
|
||||||
private CurrencyHelper() {
|
private CurrencyHelper() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.currency;
|
||||||
|
|
||||||
import org.teavm.platform.metadata.Resource;
|
import org.teavm.platform.metadata.Resource;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface CurrencyResource extends Resource {
|
public interface CurrencyResource extends Resource {
|
||||||
String getCode();
|
String getCode();
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl.report;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class JCLClass {
|
class JCLClass {
|
||||||
public final String name;
|
public final String name;
|
||||||
public JCLStatus status;
|
public JCLStatus status;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.report;
|
package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
enum JCLClassType {
|
enum JCLClassType {
|
||||||
CLASS,
|
CLASS,
|
||||||
INTERFACE,
|
INTERFACE,
|
||||||
|
|
|
@ -26,10 +26,6 @@ import org.objectweb.asm.ClassReader;
|
||||||
import org.objectweb.asm.Type;
|
import org.objectweb.asm.Type;
|
||||||
import org.teavm.parsing.ClasspathClassHolderSource;
|
import org.teavm.parsing.ClasspathClassHolderSource;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class JCLComparisonBuilder {
|
public class JCLComparisonBuilder {
|
||||||
private static final String JAR_PREFIX = "jar:file:";
|
private static final String JAR_PREFIX = "jar:file:";
|
||||||
private static final String JAR_SUFFIX = "!/java/lang/Object.class";
|
private static final String JAR_SUFFIX = "!/java/lang/Object.class";
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.objectweb.asm.*;
|
||||||
import org.teavm.model.*;
|
import org.teavm.model.*;
|
||||||
import org.teavm.model.ClassReader;
|
import org.teavm.model.ClassReader;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class JCLComparisonVisitor extends ClassVisitor {
|
class JCLComparisonVisitor extends ClassVisitor {
|
||||||
private Map<String, JCLPackage> packageMap;
|
private Map<String, JCLPackage> packageMap;
|
||||||
private ClassReaderSource classSource;
|
private ClassReaderSource classSource;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.report;
|
package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class JCLItem {
|
class JCLItem {
|
||||||
public final JCLItemType type;
|
public final JCLItemType type;
|
||||||
public final String name;
|
public final String name;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.report;
|
package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
enum JCLItemType {
|
enum JCLItemType {
|
||||||
FIELD,
|
FIELD,
|
||||||
METHOD
|
METHOD
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.impl.report;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class JCLPackage {
|
class JCLPackage {
|
||||||
public final String name;
|
public final String name;
|
||||||
public JCLStatus status;
|
public JCLStatus status;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.report;
|
package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
enum JCLStatus {
|
enum JCLStatus {
|
||||||
FOUND,
|
FOUND,
|
||||||
MISSING,
|
MISSING,
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.report;
|
package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
enum JCLVisibility {
|
enum JCLVisibility {
|
||||||
PUBLIC,
|
PUBLIC,
|
||||||
PROTECTED
|
PROTECTED
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.tz;
|
||||||
|
|
||||||
import org.teavm.classlib.impl.Base46;
|
import org.teavm.classlib.impl.Base46;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class AliasDateTimeZone extends StorableDateTimeZone {
|
public class AliasDateTimeZone extends StorableDateTimeZone {
|
||||||
private DateTimeZone innerZone;
|
private DateTimeZone innerZone;
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.impl.CharFlow;
|
||||||
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.DSTZone;
|
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.DSTZone;
|
||||||
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.PrecalculatedZone;
|
import org.teavm.classlib.impl.tz.DateTimeZoneBuilder.PrecalculatedZone;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class StorableDateTimeZone extends DateTimeZone {
|
public abstract class StorableDateTimeZone extends DateTimeZone {
|
||||||
public static final int PRECALCULATED = 0;
|
public static final int PRECALCULATED = 0;
|
||||||
public static final int FIXED = 1;
|
public static final int FIXED = 1;
|
||||||
|
|
|
@ -20,10 +20,6 @@ import java.util.*;
|
||||||
import org.teavm.classlib.impl.Base46;
|
import org.teavm.classlib.impl.Base46;
|
||||||
import org.teavm.classlib.impl.CharFlow;
|
import org.teavm.classlib.impl.CharFlow;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TimeZoneCache {
|
public class TimeZoneCache {
|
||||||
public void write(OutputStream output, Collection<StorableDateTimeZone> timeZones) throws IOException {
|
public void write(OutputStream output, Collection<StorableDateTimeZone> timeZones) throws IOException {
|
||||||
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(output, "UTF-8"));
|
BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(output, "UTF-8"));
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.impl.tz;
|
||||||
|
|
||||||
import org.teavm.platform.metadata.Resource;
|
import org.teavm.platform.metadata.Resource;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TimeZoneResource extends Resource {
|
public interface TimeZoneResource extends Resource {
|
||||||
String getData();
|
String getData();
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.unicode;
|
package org.teavm.classlib.impl.unicode;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CLDRCurrency {
|
public class CLDRCurrency {
|
||||||
String symbol;
|
String symbol;
|
||||||
String name;
|
String name;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.unicode;
|
package org.teavm.classlib.impl.unicode;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CLDRDateFormats {
|
public class CLDRDateFormats {
|
||||||
private String shortFormat;
|
private String shortFormat;
|
||||||
private String mediumFormat;
|
private String mediumFormat;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.impl.unicode;
|
package org.teavm.classlib.impl.unicode;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CLDRDecimalData {
|
public class CLDRDecimalData {
|
||||||
int groupingSeparator;
|
int groupingSeparator;
|
||||||
int decimalSeparator;
|
int decimalSeparator;
|
||||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.impl.FirstDayOfWeekMetadataGenerator;
|
||||||
import org.teavm.classlib.impl.MinimalDaysInFirstWeekMetadataGenerator;
|
import org.teavm.classlib.impl.MinimalDaysInFirstWeekMetadataGenerator;
|
||||||
import org.teavm.platform.metadata.*;
|
import org.teavm.platform.metadata.*;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public final class CLDRHelper {
|
public final class CLDRHelper {
|
||||||
private CLDRHelper() {
|
private CLDRHelper() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,6 @@ import java.util.Collections;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CLDRLocale {
|
public class CLDRLocale {
|
||||||
final Map<String, String> languages = new LinkedHashMap<>();
|
final Map<String, String> languages = new LinkedHashMap<>();
|
||||||
final Map<String, String> territories = new LinkedHashMap<>();
|
final Map<String, String> territories = new LinkedHashMap<>();
|
||||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.classlib.java.lang.TString;
|
||||||
import org.teavm.classlib.java.lang.TStringBuilder;
|
import org.teavm.classlib.java.lang.TStringBuilder;
|
||||||
import org.teavm.classlib.java.util.TArrays;
|
import org.teavm.classlib.java.util.TArrays;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TBufferedReader extends TReader {
|
public class TBufferedReader extends TReader {
|
||||||
private TReader innerReader;
|
private TReader innerReader;
|
||||||
private char[] buffer;
|
private char[] buffer;
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TMath;
|
import org.teavm.classlib.java.lang.TMath;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TByteArrayInputStream extends TInputStream {
|
public class TByteArrayInputStream extends TInputStream {
|
||||||
protected byte[] buf;
|
protected byte[] buf;
|
||||||
protected int pos;
|
protected int pos;
|
||||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.lang.TMath;
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
import org.teavm.classlib.java.util.TArrays;
|
import org.teavm.classlib.java.util.TArrays;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TByteArrayOutputStream extends TOutputStream {
|
public class TByteArrayOutputStream extends TOutputStream {
|
||||||
protected byte[] buf;
|
protected byte[] buf;
|
||||||
protected int count;
|
protected int count;
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TAutoCloseable;
|
import org.teavm.classlib.java.lang.TAutoCloseable;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TCloseable extends TAutoCloseable {
|
public interface TCloseable extends TAutoCloseable {
|
||||||
@Override
|
@Override
|
||||||
void close() throws TIOException;
|
void close() throws TIOException;
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TDataInput {
|
public interface TDataInput {
|
||||||
void readFully(byte[] b) throws TIOException;
|
void readFully(byte[] b) throws TIOException;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.*;
|
import org.teavm.classlib.java.lang.*;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TDataInputStream extends TFilterInputStream implements TDataInput {
|
public class TDataInputStream extends TFilterInputStream implements TDataInput {
|
||||||
byte[] buff;
|
byte[] buff;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
|
|
||||||
public interface TDataOutput {
|
public interface TDataOutput {
|
||||||
void write(int b) throws TIOException;
|
void write(int b) throws TIOException;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TEOFException extends TIOException {
|
public class TEOFException extends TIOException {
|
||||||
private static final long serialVersionUID = 3045477060413545010L;
|
private static final long serialVersionUID = 3045477060413545010L;
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,5 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.io;
|
package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TExternalizable {
|
public interface TExternalizable {
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.io;
|
package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TFilterOutputStream extends TOutputStream {
|
public class TFilterOutputStream extends TOutputStream {
|
||||||
protected TOutputStream out;
|
protected TOutputStream out;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.io;
|
package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TFlushable {
|
public interface TFlushable {
|
||||||
void flush() throws TIOException;
|
void flush() throws TIOException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.lang.TException;
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
import org.teavm.classlib.java.lang.TThrowable;
|
import org.teavm.classlib.java.lang.TThrowable;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIOException extends TException {
|
public class TIOException extends TException {
|
||||||
private static final long serialVersionUID = 3626109154700059455L;
|
private static final long serialVersionUID = 3626109154700059455L;
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
||||||
import org.teavm.classlib.java.lang.TInteger;
|
import org.teavm.classlib.java.lang.TInteger;
|
||||||
import org.teavm.classlib.java.lang.TObject;
|
import org.teavm.classlib.java.lang.TObject;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class TInputStream extends TObject implements TCloseable {
|
public abstract class TInputStream extends TObject implements TCloseable {
|
||||||
public TInputStream() {
|
public TInputStream() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,10 +24,6 @@ import org.teavm.classlib.java.nio.charset.TCodingErrorAction;
|
||||||
import org.teavm.classlib.java.nio.charset.TUnsupportedCharsetException;
|
import org.teavm.classlib.java.nio.charset.TUnsupportedCharsetException;
|
||||||
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TInputStreamReader extends TReader {
|
public class TInputStreamReader extends TReader {
|
||||||
private TInputStream stream;
|
private TInputStream stream;
|
||||||
private TCharsetDecoder decoder;
|
private TCharsetDecoder decoder;
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TObject;
|
import org.teavm.classlib.java.lang.TObject;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class TOutputStream extends TObject implements TCloseable, TFlushable {
|
public abstract class TOutputStream extends TObject implements TCloseable, TFlushable {
|
||||||
public abstract void write(int b) throws TIOException;
|
public abstract void write(int b) throws TIOException;
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,6 @@ import org.teavm.classlib.java.nio.TCharBuffer;
|
||||||
import org.teavm.classlib.java.nio.charset.*;
|
import org.teavm.classlib.java.nio.charset.*;
|
||||||
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
import org.teavm.classlib.java.nio.charset.impl.TUTF8Charset;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TPrintStream extends TFilterOutputStream {
|
public class TPrintStream extends TFilterOutputStream {
|
||||||
private boolean autoFlush;
|
private boolean autoFlush;
|
||||||
private boolean errorState;
|
private boolean errorState;
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
||||||
import org.teavm.classlib.java.lang.TArrayIndexOutOfBoundsException;
|
import org.teavm.classlib.java.lang.TArrayIndexOutOfBoundsException;
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TPushbackInputStream extends TFilterInputStream {
|
public class TPushbackInputStream extends TFilterInputStream {
|
||||||
protected byte[] buf;
|
protected byte[] buf;
|
||||||
protected int pos;
|
protected int pos;
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.io;
|
||||||
import org.teavm.classlib.java.lang.TMath;
|
import org.teavm.classlib.java.lang.TMath;
|
||||||
import org.teavm.classlib.java.lang.TObject;
|
import org.teavm.classlib.java.lang.TObject;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class TReader implements TCloseable {
|
public abstract class TReader implements TCloseable {
|
||||||
protected TObject lock;
|
protected TObject lock;
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,5 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.io;
|
package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TSerializable {
|
public interface TSerializable {
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.classlib.java.lang.TMath;
|
||||||
import org.teavm.classlib.java.lang.TNullPointerException;
|
import org.teavm.classlib.java.lang.TNullPointerException;
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TStringReader extends TReader {
|
public class TStringReader extends TReader {
|
||||||
private TString string;
|
private TString string;
|
||||||
private int index;
|
private int index;
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TUTFDataFormatException extends TIOException {
|
public class TUTFDataFormatException extends TIOException {
|
||||||
private static final long serialVersionUID = -6383472574962319733L;
|
private static final long serialVersionUID = -6383472574962319733L;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.io;
|
||||||
|
|
||||||
import org.teavm.classlib.java.lang.TString;
|
import org.teavm.classlib.java.lang.TString;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TUnsupportedEncodingException extends TIOException {
|
public class TUnsupportedEncodingException extends TIOException {
|
||||||
private static final long serialVersionUID = 2403781130729330252L;
|
private static final long serialVersionUID = 2403781130729330252L;
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,6 @@ import org.teavm.platform.metadata.MetadataGeneratorContext;
|
||||||
import org.teavm.platform.metadata.Resource;
|
import org.teavm.platform.metadata.Resource;
|
||||||
import org.teavm.platform.metadata.StringResource;
|
import org.teavm.platform.metadata.StringResource;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class CharacterMetadataGenerator implements MetadataGenerator {
|
public class CharacterMetadataGenerator implements MetadataGenerator {
|
||||||
@Override
|
@Override
|
||||||
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
|
||||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.backend.javascript.spi.Generator;
|
||||||
import org.teavm.backend.javascript.spi.GeneratorContext;
|
import org.teavm.backend.javascript.spi.GeneratorContext;
|
||||||
import org.teavm.model.MethodReference;
|
import org.teavm.model.MethodReference;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class MathNativeGenerator implements Generator {
|
public class MathNativeGenerator implements Generator {
|
||||||
@Override
|
@Override
|
||||||
public void generate(GeneratorContext context, SourceWriter writer, MethodReference methodRef) throws IOException {
|
public void generate(GeneratorContext context, SourceWriter writer, MethodReference methodRef) throws IOException {
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.lang;
|
||||||
import org.teavm.classlib.java.io.TSerializable;
|
import org.teavm.classlib.java.io.TSerializable;
|
||||||
import org.teavm.classlib.java.util.TArrays;
|
import org.teavm.classlib.java.util.TArrays;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class TAbstractStringBuilder extends TObject implements TSerializable, TCharSequence {
|
class TAbstractStringBuilder extends TObject implements TSerializable, TCharSequence {
|
||||||
private static final float[] powersOfTen = { 1E1f, 1E2f, 1E4f, 1E8f, 1E16f, 1E32f };
|
private static final float[] powersOfTen = { 1E1f, 1E2f, 1E4f, 1E8f, 1E16f, 1E32f };
|
||||||
private static final double[] doublePowersOfTen = { 1E1, 1E2, 1E4, 1E8, 1E16, 1E32, 1E64, 1E128, 1E256 };
|
private static final double[] doublePowersOfTen = { 1E1, 1E2, 1E4, 1E8, 1E16, 1E32, 1E64, 1E128, 1E256 };
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
import org.teavm.classlib.java.io.TIOException;
|
import org.teavm.classlib.java.io.TIOException;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TAppendable {
|
public interface TAppendable {
|
||||||
TAppendable append(TCharSequence csq) throws TIOException;
|
TAppendable append(TCharSequence csq) throws TIOException;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TArithmeticException extends TRuntimeException {
|
public class TArithmeticException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 8084592456171302650L;
|
private static final long serialVersionUID = 8084592456171302650L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TArrayIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
public class TArrayIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
||||||
private static final long serialVersionUID = 5221353436321708950L;
|
private static final long serialVersionUID = 5221353436321708950L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TArrayStoreException extends TRuntimeException {
|
public class TArrayStoreException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 3911921304974631232L;
|
private static final long serialVersionUID = 3911921304974631232L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TAssertionError extends TError {
|
public class TAssertionError extends TError {
|
||||||
private static final long serialVersionUID = -4113942229209340013L;
|
private static final long serialVersionUID = -4113942229209340013L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TAutoCloseable {
|
public interface TAutoCloseable {
|
||||||
void close() throws TException;
|
void close() throws TException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TCharSequence {
|
public interface TCharSequence {
|
||||||
int length();
|
int length();
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TClassCastException extends TRuntimeException {
|
public class TClassCastException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 5744987817019231273L;
|
private static final long serialVersionUID = 5744987817019231273L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TClassNotFoundException extends TReflectiveOperationException {
|
public class TClassNotFoundException extends TReflectiveOperationException {
|
||||||
private static final long serialVersionUID = -1162632869775788325L;
|
private static final long serialVersionUID = -1162632869775788325L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TCloneNotSupportedException extends TException {
|
public class TCloneNotSupportedException extends TException {
|
||||||
private static final long serialVersionUID = 4908200987785128012L;
|
private static final long serialVersionUID = 4908200987785128012L;
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,5 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TCloneable {
|
public interface TCloneable {
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,6 @@ import org.teavm.classlib.java.io.TEOFException;
|
||||||
import org.teavm.classlib.java.io.TIOException;
|
import org.teavm.classlib.java.io.TIOException;
|
||||||
import org.teavm.classlib.java.io.TInputStream;
|
import org.teavm.classlib.java.io.TInputStream;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class TConsoleInputStream extends TInputStream {
|
class TConsoleInputStream extends TInputStream {
|
||||||
@Override
|
@Override
|
||||||
public int read(byte[] b) throws TIOException {
|
public int read(byte[] b) throws TIOException {
|
||||||
|
|
|
@ -21,10 +21,6 @@ import org.teavm.interop.DelegateTo;
|
||||||
import org.teavm.interop.Import;
|
import org.teavm.interop.Import;
|
||||||
import org.teavm.platform.Platform;
|
import org.teavm.platform.Platform;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class TConsoleOutputStreamStderr extends TOutputStream {
|
class TConsoleOutputStreamStderr extends TOutputStream {
|
||||||
@Override
|
@Override
|
||||||
@DelegateTo("writeLowLevel")
|
@DelegateTo("writeLowLevel")
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TError extends TThrowable {
|
public class TError extends TThrowable {
|
||||||
private static final long serialVersionUID = 3256540693876647405L;
|
private static final long serialVersionUID = 3256540693876647405L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TException extends TThrowable {
|
public class TException extends TThrowable {
|
||||||
private static final long serialVersionUID = -2188339106250208952L;
|
private static final long serialVersionUID = -2188339106250208952L;
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,6 @@ import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
@Documented
|
@Documented
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target(ElementType.TYPE)
|
@Target(ElementType.TYPE)
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIllegalAccessException extends ReflectiveOperationException {
|
public class TIllegalAccessException extends ReflectiveOperationException {
|
||||||
private static final long serialVersionUID = 8240407889170934565L;
|
private static final long serialVersionUID = 8240407889170934565L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIllegalArgumentException extends TRuntimeException {
|
public class TIllegalArgumentException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = -1225768288500984373L;
|
private static final long serialVersionUID = -1225768288500984373L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIllegalMonitorStateException extends TRuntimeException {
|
public class TIllegalMonitorStateException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 7694307746228488658L;
|
private static final long serialVersionUID = 7694307746228488658L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIllegalStateException extends TException {
|
public class TIllegalStateException extends TException {
|
||||||
private static final long serialVersionUID = 218741044430713159L;
|
private static final long serialVersionUID = 218741044430713159L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIncompatibleClassChangeError extends TLinkageError {
|
public class TIncompatibleClassChangeError extends TLinkageError {
|
||||||
private static final long serialVersionUID = 366119408566298082L;
|
private static final long serialVersionUID = 366119408566298082L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TIndexOutOfBoundsException extends TRuntimeException {
|
public class TIndexOutOfBoundsException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = -7329782331640782287L;
|
private static final long serialVersionUID = -7329782331640782287L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TInheritableThreadLocal<T> extends TThreadLocal<T> {
|
public class TInheritableThreadLocal<T> extends TThreadLocal<T> {
|
||||||
protected T childValue(T parentValue) {
|
protected T childValue(T parentValue) {
|
||||||
return parentValue;
|
return parentValue;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TInstantiationException extends ReflectiveOperationException {
|
public class TInstantiationException extends ReflectiveOperationException {
|
||||||
private static final long serialVersionUID = 8771605296206833516L;
|
private static final long serialVersionUID = 8771605296206833516L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TInterruptedException extends Exception {
|
public class TInterruptedException extends Exception {
|
||||||
private static final long serialVersionUID = -7832805114281254695L;
|
private static final long serialVersionUID = -7832805114281254695L;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TLinkageError extends TError {
|
public class TLinkageError extends TError {
|
||||||
private static final long serialVersionUID = 9176544705010852435L;
|
private static final long serialVersionUID = 9176544705010852435L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNegativeArraySizeException extends TRuntimeException {
|
public class TNegativeArraySizeException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 4838944281468611671L;
|
private static final long serialVersionUID = 4838944281468611671L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNoClassDefFoundError extends TLinkageError {
|
public class TNoClassDefFoundError extends TLinkageError {
|
||||||
private static final long serialVersionUID = -7662272618403764942L;
|
private static final long serialVersionUID = -7662272618403764942L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNoSuchFieldError extends TIncompatibleClassChangeError {
|
public class TNoSuchFieldError extends TIncompatibleClassChangeError {
|
||||||
private static final long serialVersionUID = 7907885242472547035L;
|
private static final long serialVersionUID = 7907885242472547035L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNoSuchMethodError extends TIncompatibleClassChangeError {
|
public class TNoSuchMethodError extends TIncompatibleClassChangeError {
|
||||||
private static final long serialVersionUID = 7907885242472547035L;
|
private static final long serialVersionUID = 7907885242472547035L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNullPointerException extends TRuntimeException {
|
public class TNullPointerException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 2639861320773057190L;
|
private static final long serialVersionUID = 2639861320773057190L;
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
import org.teavm.classlib.java.io.TSerializable;
|
import org.teavm.classlib.java.io.TSerializable;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public abstract class TNumber extends TObject implements TSerializable {
|
public abstract class TNumber extends TObject implements TSerializable {
|
||||||
public abstract int intValue();
|
public abstract int intValue();
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TNumberFormatException extends TIllegalArgumentException {
|
public class TNumberFormatException extends TIllegalArgumentException {
|
||||||
private static final long serialVersionUID = 6872736757931546482L;
|
private static final long serialVersionUID = 6872736757931546482L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TOutOfMemoryError extends TVirtualMachineError {
|
public class TOutOfMemoryError extends TVirtualMachineError {
|
||||||
private static final long serialVersionUID = -1891949851728458692L;
|
private static final long serialVersionUID = -1891949851728458692L;
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.classlib.java.lang;
|
||||||
import org.teavm.classlib.java.io.TIOException;
|
import org.teavm.classlib.java.io.TIOException;
|
||||||
import org.teavm.classlib.java.nio.TCharBuffer;
|
import org.teavm.classlib.java.nio.TCharBuffer;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TReadable {
|
public interface TReadable {
|
||||||
int read(TCharBuffer cb) throws TIOException;
|
int read(TCharBuffer cb) throws TIOException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TReflectiveOperationException extends TException {
|
public class TReflectiveOperationException extends TException {
|
||||||
private static final long serialVersionUID = -455785869284249992L;
|
private static final long serialVersionUID = -455785869284249992L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TRunnable {
|
public interface TRunnable {
|
||||||
void run();
|
void run();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,6 @@ package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
import org.teavm.interop.Superclass;
|
import org.teavm.interop.Superclass;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
@Superclass("java.lang.Exception")
|
@Superclass("java.lang.Exception")
|
||||||
public class TRuntimeException extends TException {
|
public class TRuntimeException extends TException {
|
||||||
private static final long serialVersionUID = 3506083061304642891L;
|
private static final long serialVersionUID = 3506083061304642891L;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TSecurityException extends TRuntimeException {
|
public class TSecurityException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 720572643357872552L;
|
private static final long serialVersionUID = 720572643357872552L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public final class TStrictMath extends TObject {
|
public final class TStrictMath extends TObject {
|
||||||
public static final double E = 2.71828182845904523536;
|
public static final double E = 2.71828182845904523536;
|
||||||
public static final double PI = 3.14159265358979323846;
|
public static final double PI = 3.14159265358979323846;
|
||||||
|
|
|
@ -27,10 +27,6 @@ import org.teavm.classlib.java.util.THashMap;
|
||||||
import org.teavm.classlib.java.util.TMap;
|
import org.teavm.classlib.java.util.TMap;
|
||||||
import org.teavm.classlib.java.util.regex.TPattern;
|
import org.teavm.classlib.java.util.regex.TPattern;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TString extends TObject implements TSerializable, TComparable<TString>, TCharSequence {
|
public class TString extends TObject implements TSerializable, TComparable<TString>, TCharSequence {
|
||||||
public static final TComparator<TString> CASE_INSENSITIVE_ORDER = (o1, o2) -> o1.compareToIgnoreCase(o2);
|
public static final TComparator<TString> CASE_INSENSITIVE_ORDER = (o1, o2) -> o1.compareToIgnoreCase(o2);
|
||||||
private char[] characters;
|
private char[] characters;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TStringBuffer extends TAbstractStringBuilder implements TAppendable {
|
public class TStringBuffer extends TAbstractStringBuilder implements TAppendable {
|
||||||
public TStringBuffer(int capacity) {
|
public TStringBuffer(int capacity) {
|
||||||
super(capacity);
|
super(capacity);
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TStringBuilder extends TAbstractStringBuilder implements TAppendable {
|
public class TStringBuilder extends TAbstractStringBuilder implements TAppendable {
|
||||||
public TStringBuilder(int capacity) {
|
public TStringBuilder(int capacity) {
|
||||||
super(capacity);
|
super(capacity);
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TStringIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
public class TStringIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
||||||
private static final long serialVersionUID = 6706349858694463085L;
|
private static final long serialVersionUID = 6706349858694463085L;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
class TSystemClassLoader extends TClassLoader {
|
class TSystemClassLoader extends TClassLoader {
|
||||||
TSystemClassLoader() {
|
TSystemClassLoader() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,6 @@ import org.teavm.platform.Platform;
|
||||||
import org.teavm.platform.PlatformRunnable;
|
import org.teavm.platform.PlatformRunnable;
|
||||||
import org.teavm.platform.async.AsyncCallback;
|
import org.teavm.platform.async.AsyncCallback;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TThread extends TObject implements TRunnable {
|
public class TThread extends TObject implements TRunnable {
|
||||||
private static TThread mainThread = new TThread(TString.wrap("main"));
|
private static TThread mainThread = new TThread(TString.wrap("main"));
|
||||||
private static TThread currentThread = mainThread;
|
private static TThread currentThread = mainThread;
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public interface TThreadInterruptHandler {
|
public interface TThreadInterruptHandler {
|
||||||
void interrupted();
|
void interrupted();
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.classlib.java.lang;
|
package org.teavm.classlib.java.lang;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class TUnsupportedOperationException extends TRuntimeException {
|
public class TUnsupportedOperationException extends TRuntimeException {
|
||||||
private static final long serialVersionUID = 3820374864664609707L;
|
private static final long serialVersionUID = 3820374864664609707L;
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user