diff --git a/java-frontend-semsitter/src/test/java/org/sonar/java/semsitter/SemSitterTranslatorTest.java b/java-frontend-semsitter/src/test/java/org/sonar/java/semsitter/SemSitterTranslatorTest.java index c72bd243866..eb0e18d5553 100644 --- a/java-frontend-semsitter/src/test/java/org/sonar/java/semsitter/SemSitterTranslatorTest.java +++ b/java-frontend-semsitter/src/test/java/org/sonar/java/semsitter/SemSitterTranslatorTest.java @@ -16,13 +16,58 @@ */ package org.sonar.java.semsitter; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; +import com.google.protobuf.TextFormat; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +import java.util.function.Function; +import java.util.stream.Collectors; import org.junit.jupiter.api.Test; import org.sonar.plugins.java.api.semantic.Symbol; +import org.sonar.plugins.java.api.semantic.SymbolMetadata; +import org.sonar.plugins.java.api.tree.BaseTreeVisitor; +import org.sonar.plugins.java.api.tree.CompilationUnitTree; +import org.sonar.plugins.java.api.tree.EnumConstantTree; +import org.sonar.plugins.java.api.tree.MethodTree; +import org.sonar.plugins.java.api.tree.VariableTree; +import org.sonarsource.semsitter.wire.Document; import static org.assertj.core.api.Assertions.assertThat; +/** + * Translates documents a real SemSitter server answered for the sources next to them in the test resources, with the + * type declarations it answered for them. + */ class SemSitterTranslatorTest { + private static final Function, JsonObject> TYPES_ALREADY_SENT = names -> new JsonObject(); + + @Test + void enum_constant_calls_the_enum_constructor() throws Exception { + List constants = enumConstants(translate("Outer", recordedTypes("Outer"))); + + assertThat(constants).extracting(constant -> constant.initializer().methodSymbol().name()).containsExactly("", ""); + assertThat(constants).allSatisfy(constant -> assertThat(((VariableTree) constant).symbol().isVariableSymbol()).isTrue()); + } + + @Test + void enum_constant_of_an_unknown_enum_calls_an_unknown_constructor() throws Exception { + List constants = enumConstants(translate("Outer", TYPES_ALREADY_SENT)); + + assertThat(constants).extracting(constant -> constant.initializer().methodSymbol()).containsOnly(Symbol.MethodSymbol.UNKNOWN_METHOD); + assertThat(constants).allSatisfy(constant -> assertThat(((VariableTree) constant).symbol().isVariableSymbol()).isTrue()); + } + @Test void an_unresolved_method_is_owned_by_the_unknown_type() { JMethodSymbol method = new JMethodSymbol(new JSema(), null, "log"); @@ -31,4 +76,69 @@ void an_unresolved_method_is_owned_by_the_unknown_type() { assertThat(method.owner()).isSameAs(Symbol.TypeSymbol.UNKNOWN_TYPE); assertThat(((Symbol.TypeSymbol) method.owner()).memberSymbols()).isEmpty(); } + + @Test + void annotation_values_are_constants_enum_constants_or_unknown() throws Exception { + Map values = annotationValues(translate("Routes", recordedTypes("Routes"))); + + assertThat(values).containsEntry("knownConstant", List.of("/local")); + assertThat(values).containsEntry("unknownConstant", Collections.singletonList(null)); + assertThat(values.get("enumConstant")).isInstanceOfSatisfying(Symbol.VariableSymbol.class, constant -> assertThat(constant.name()).isEqualTo("A")); + } + + private static CompilationUnitTree translate(String name, Function, JsonObject> types) throws Exception { + Document.Builder document = Document.newBuilder(); + try (InputStream input = resource(name + ".textproto")) { + TextFormat.merge(new InputStreamReader(input, StandardCharsets.UTF_8), document); + } + return SemSitterTranslator.translate(document.build(), types, pkg -> null, true, 17).get(); + } + + private static Function, JsonObject> recordedTypes(String name) throws IOException { + JsonObject recorded; + try (InputStream input = resource(name + ".types.json")) { + recorded = JsonParser.parseReader(new InputStreamReader(input, StandardCharsets.UTF_8)).getAsJsonObject(); + } + return new SessionTypes(names -> { + JsonObject answer = new JsonObject(); + names.stream().filter(recorded::has).forEach(type -> answer.add(type, recorded.get(type))); + return answer; + })::get; + } + + private static InputStream resource(String name) { + return Objects.requireNonNull(SemSitterTranslatorTest.class.getResourceAsStream("translator/" + name), name); + } + + private static List enumConstants(CompilationUnitTree unit) { + List constants = new ArrayList<>(); + unit.accept(new BaseTreeVisitor() { + @Override + public void visitEnumConstant(EnumConstantTree tree) { + constants.add(tree); + super.visitEnumConstant(tree); + } + }); + return constants; + } + + private static Map annotationValues(CompilationUnitTree unit) { + List methods = new ArrayList<>(); + unit.accept(new BaseTreeVisitor() { + @Override + public void visitMethod(MethodTree tree) { + methods.add(tree); + super.visitMethod(tree); + } + }); + return methods.stream() + .filter(method -> !method.symbol().metadata().annotations().isEmpty()) + .collect(Collectors.toMap(method -> method.simpleName().name(), SemSitterTranslatorTest::firstValue)); + } + + private static Object firstValue(MethodTree method) { + SymbolMetadata.AnnotationInstance annotation = method.symbol().metadata().annotations().get(0); + Object value = annotation.values().get(0).value(); + return value instanceof Object[] array ? Arrays.asList(array) : value; + } } diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.java b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.java new file mode 100644 index 00000000000..943afc651f0 --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.java @@ -0,0 +1,5 @@ +package e; + +class Outer { + enum Type { FLOAT32, FLOAT64 } +} diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.textproto b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.textproto new file mode 100644 index 00000000000..7106b1dc207 --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.textproto @@ -0,0 +1,482 @@ +tree { + kind: "program" + named: true + start_line: 1 + end_line: 6 + end_byte: 64 + children { + kind: "package_declaration" + named: true + start_line: 1 + end_line: 1 + end_col: 10 + end_byte: 10 + children { + kind: "package" + start_line: 1 + end_line: 1 + end_col: 7 + end_byte: 7 + text: "package" + } + children { + kind: "identifier" + named: true + start_line: 1 + start_col: 8 + end_line: 1 + end_col: 9 + start_byte: 8 + end_byte: 9 + text: "e" + } + children { + kind: ";" + start_line: 1 + start_col: 9 + end_line: 1 + end_col: 10 + start_byte: 9 + end_byte: 10 + text: ";" + } + } + children { + kind: "class_declaration" + named: true + start_line: 3 + end_line: 5 + end_col: 1 + start_byte: 12 + end_byte: 63 + children { + kind: "class" + start_line: 3 + end_line: 3 + end_col: 5 + start_byte: 12 + end_byte: 17 + text: "class" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 3 + start_col: 6 + end_line: 3 + end_col: 11 + start_byte: 18 + end_byte: 23 + text: "Outer" + decls: "e.Outer`1" + } + children { + kind: "type_parameters" + named: true + field: "type_parameters" + start_line: 3 + start_col: 11 + end_line: 3 + end_col: 14 + start_byte: 23 + end_byte: 26 + children { + kind: "<" + start_line: 3 + start_col: 11 + end_line: 3 + end_col: 12 + start_byte: 23 + end_byte: 24 + text: "<" + } + children { + kind: "type_parameter" + named: true + start_line: 3 + start_col: 12 + end_line: 3 + end_col: 13 + start_byte: 24 + end_byte: 25 + children { + kind: "type_identifier" + named: true + start_line: 3 + start_col: 12 + end_line: 3 + end_col: 13 + start_byte: 24 + end_byte: 25 + text: "T" + decls: "e.Outer`1" + } + } + children { + kind: ">" + start_line: 3 + start_col: 13 + end_line: 3 + end_col: 14 + start_byte: 25 + end_byte: 26 + text: ">" + } + } + children { + kind: "class_body" + named: true + field: "body" + start_line: 3 + start_col: 15 + end_line: 5 + end_col: 1 + start_byte: 27 + end_byte: 63 + children { + kind: "{" + start_line: 3 + start_col: 15 + end_line: 3 + end_col: 16 + start_byte: 27 + end_byte: 28 + text: "{" + } + children { + kind: "enum_declaration" + named: true + start_line: 4 + start_col: 2 + end_line: 4 + end_col: 32 + start_byte: 31 + end_byte: 61 + children { + kind: "enum" + start_line: 4 + start_col: 2 + end_line: 4 + end_col: 6 + start_byte: 31 + end_byte: 35 + text: "enum" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 4 + start_col: 7 + end_line: 4 + end_col: 11 + start_byte: 36 + end_byte: 40 + text: "Type" + decls: "e.Outer`1$Type" + } + children { + kind: "enum_body" + named: true + field: "body" + start_line: 4 + start_col: 12 + end_line: 4 + end_col: 32 + start_byte: 41 + end_byte: 61 + children { + kind: "{" + start_line: 4 + start_col: 12 + end_line: 4 + end_col: 13 + start_byte: 41 + end_byte: 42 + text: "{" + } + children { + kind: "enum_constant" + named: true + start_line: 4 + start_col: 14 + end_line: 4 + end_col: 21 + start_byte: 43 + end_byte: 50 + children { + kind: "identifier" + named: true + field: "name" + start_line: 4 + start_col: 14 + end_line: 4 + end_col: 21 + start_byte: 43 + end_byte: 50 + text: "FLOAT32" + decls: "e.Outer`1$Type#FLOAT32" + } + } + children { + kind: "," + start_line: 4 + start_col: 21 + end_line: 4 + end_col: 22 + start_byte: 50 + end_byte: 51 + text: "," + } + children { + kind: "enum_constant" + named: true + start_line: 4 + start_col: 23 + end_line: 4 + end_col: 30 + start_byte: 52 + end_byte: 59 + children { + kind: "identifier" + named: true + field: "name" + start_line: 4 + start_col: 23 + end_line: 4 + end_col: 30 + start_byte: 52 + end_byte: 59 + text: "FLOAT64" + decls: "e.Outer`1$Type#FLOAT64" + } + } + children { + kind: "}" + start_line: 4 + start_col: 31 + end_line: 4 + end_col: 32 + start_byte: 60 + end_byte: 61 + text: "}" + } + } + } + children { + kind: "}" + start_line: 5 + end_line: 5 + end_col: 1 + start_byte: 62 + end_byte: 63 + text: "}" + } + } + } +} +path: "e/Outer.java" +semantic: true +symbols { + id: "e.Outer`1#()" + kind: "constructor" + name: "Outer" + owner: "e.Outer`1" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Outer`1$Type#()" + kind: "constructor" + name: "Type" + owner: "e.Outer`1$Type" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Outer`1$Type#valueOf(java.lang.String)" + kind: "method" + name: "valueOf" + owner: "e.Outer`1$Type" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Outer`1$Type#values()" + kind: "method" + name: "values" + owner: "e.Outer`1$Type" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Outer`1" + kind: "type" + name: "Outer" + place { + start_byte: 18 + end_byte: 23 + line: 3 + column: 6 + } +} +symbols { + id: "e.Outer`1" + kind: "type" + name: "T" + owner: "e.Outer`1" + place { + start_byte: 24 + end_byte: 25 + line: 3 + column: 12 + } +} +symbols { + id: "e.Outer`1$Type" + kind: "type" + name: "Type" + owner: "e.Outer`1" + place { + start_byte: 36 + end_byte: 40 + line: 4 + column: 7 + } +} +symbols { + id: "e.Outer`1$Type#FLOAT32" + kind: "enum_member" + name: "FLOAT32" + owner: "e.Outer`1$Type" + place { + start_byte: 43 + end_byte: 50 + line: 4 + column: 14 + } +} +symbols { + id: "e.Outer`1$Type#FLOAT64" + kind: "enum_member" + name: "FLOAT64" + owner: "e.Outer`1$Type" + place { + start_byte: 52 + end_byte: 59 + line: 4 + column: 23 + } +} +facts { + key: "e.Outer`1" + value { + kind: "class" + tier: "IN_PROJECT" + parent: "e/Outer.java::" + props { + name: "simple_name" + values: "Outer" + } + props { + name: "type_fqn" + values: "e.Outer`1" + } + params: "e.Outer`1::`0" + } +} +facts { + key: "e.Outer`1$Type" + value { + kind: "enum" + tier: "IN_PROJECT" + parent: "e.Outer`1" + props { + name: "simple_name" + values: "Type" + } + props { + name: "type_fqn" + values: "e.Outer`1$Type" + } + } +} +facts { + key: "e.Outer`1$Type#()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Outer`1$Type" + props { + name: "member_name" + values: "Type" + } + props { + name: "param_types" + values: "" + } + props { + name: "type_fqn" + values: "e.Outer`1$Type" + } + } +} +facts { + key: "e.Outer`1$Type#FLOAT32" + value { + kind: "field" + tier: "IN_PROJECT" + parent: "e.Outer`1$Type" + props { + name: "member_name" + values: "FLOAT32" + } + props { + name: "simple_name" + values: "FLOAT32" + } + props { + name: "type_fqn" + values: "e.Outer`1$Type" + } + type: "e.Outer`1$Type" + } +} +facts { + key: "e.Outer`1$Type#FLOAT64" + value { + kind: "field" + tier: "IN_PROJECT" + parent: "e.Outer`1$Type" + props { + name: "member_name" + values: "FLOAT64" + } + props { + name: "simple_name" + values: "FLOAT64" + } + props { + name: "type_fqn" + values: "e.Outer`1$Type" + } + type: "e.Outer`1$Type" + } +} diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.types.json b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.types.json new file mode 100644 index 00000000000..2c14d30710d --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Outer.types.json @@ -0,0 +1,3733 @@ +{ + "e.Outer": { + "annotations": [], + "id": "e.Outer`1", + "interfaceTypes": [], + "interfaces": [], + "kind": "class", + "members": [ + { + "annotations": [], + "facts": { + "kind": "enum", + "parent": "e.Outer`1", + "props": { + "simple_name": [ + "Type" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Outer`1$Type" + }, + { + "annotations": [], + "facts": { + "kind": "typeparameter", + "parent": "e.Outer`1", + "props": { + "name": [ + "T" + ], + "parameter_kind": [ + "type" + ], + "simple_name": [ + "T" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Outer`1::`0" + } + ], + "modifiers": [], + "origin": "project", + "typeParameters": 1, + "typeVars": [ + "T" + ] + }, + "e.Outer$Type": { + "annotations": [], + "id": "e.Outer`1$Type", + "interfaceTypes": [], + "interfaces": [], + "kind": "enum", + "members": [ + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Outer`1$Type", + "props": { + "member_name": [ + "Type" + ], + "param_types": [ + "" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Outer`1$Type#\u003cinit\u003e()", + "throws": [], + "varargs": false + }, + { + "annotations": [], + "facts": { + "kind": "field", + "parent": "e.Outer`1$Type", + "props": { + "member_name": [ + "FLOAT32" + ], + "simple_name": [ + "FLOAT32" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "tier": "IN_PROJECT", + "type": [ + "e.Outer`1$Type" + ] + }, + "id": "e.Outer`1$Type#FLOAT32" + }, + { + "annotations": [], + "facts": { + "kind": "field", + "parent": "e.Outer`1$Type", + "props": { + "member_name": [ + "FLOAT64" + ], + "simple_name": [ + "FLOAT64" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "tier": "IN_PROJECT", + "type": [ + "e.Outer`1$Type" + ] + }, + "id": "e.Outer`1$Type#FLOAT64" + }, + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Outer`1$Type", + "props": { + "member_name": [ + "values" + ], + "modifiers": [ + "public", + "static" + ], + "param_types": [ + "" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "returns": [ + "e.Outer`1$Type[]" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Outer`1$Type#values()", + "throws": [], + "varargs": false + }, + { + "annotations": [], + "facts": { + "kind": "method", + "params": [ + "java.lang.String" + ], + "parent": "e.Outer`1$Type", + "props": { + "member_name": [ + "valueOf" + ], + "modifiers": [ + "public", + "static" + ], + "param_types": [ + "java.lang.String" + ], + "type_fqn": [ + "e.Outer`1$Type" + ] + }, + "returns": [ + "e.Outer`1$Type" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Outer`1$Type#valueOf(java.lang.String)", + "throws": [], + "varargs": false + } + ], + "modifiers": [ + "static" + ], + "origin": "project", + "super": "java.lang.Enum", + "superType": { + "args": [ + { + "args": [], + "id": "e.Outer$Type" + } + ], + "id": "java.lang.Enum" + }, + "typeParameters": 0, + "typeVars": [] + }, + "java.io.Serializable": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.Comparable": { + "annotations": [], + "interfaceTypes": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "(Ljava/lang/Object;)I", + "final": false, + "k": "m", + "name": "compareTo", + "paramTypes": [ + { + "id": "T", + "kind": "typevar" + } + ], + "paramVars": [ + "c0" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 1, + "typeVarBounds": [ + [ + { + "args": [], + "id": "java.lang.Object" + } + ] + ], + "typeVars": [ + "T" + ] + }, + "java.lang.Enum": { + "annotations": [], + "interfaceTypes": [ + { + "args": [], + "id": "java.lang.constant.Constable" + }, + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Comparable" + }, + { + "args": [], + "id": "java.io.Serializable" + } + ], + "interfaces": [ + "java.lang.constant.Constable", + "java.lang.Comparable", + "java.io.Serializable" + ], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": true, + "k": "m", + "name": "name", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": true, + "k": "m", + "name": "ordinal", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": true, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": true, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/Object;", + "final": true, + "k": "m", + "name": "clone", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.CloneNotSupportedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Enum;)I", + "final": true, + "k": "m", + "name": "compareTo", + "paramTypes": [ + { + "id": "E", + "kind": "typevar" + } + ], + "paramVars": [ + "c0" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/Class;", + "final": true, + "k": "m", + "name": "getDeclaringClass", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Class" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": true, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Enum$EnumDesc" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;", + "final": false, + "k": "m", + "name": "valueOf", + "paramTypes": [ + { + "args": [ + { + "id": "T", + "kind": "typevar" + } + ], + "id": "java.lang.Class" + }, + { + "args": [], + "id": "java.lang.String" + } + ], + "paramVars": [ + "", + "" + ], + "retSelf": false, + "retType": { + "id": "T", + "kind": "typevar" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [ + [ + { + "args": [ + { + "id": "T", + "kind": "typevar" + } + ], + "id": "java.lang.Enum" + } + ] + ], + "typeVars": [ + "T" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "18" + }, + { + "kind": "boolean", + "name": "forRemoval", + "value": true + } + ] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "finalize", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/io/ObjectInputStream;)V", + "final": false, + "k": "m", + "name": "readObject", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.IOException", + "java.lang.ClassNotFoundException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": false, + "k": "m", + "name": "readObjectNoData", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.ObjectStreamException" + ], + "varargs": false, + "vis": "public" + }, + { + "annotations": [], + "desc": "Ljava/lang/String;", + "enum": false, + "final": true, + "k": "f", + "name": "name", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "I", + "enum": false, + "final": true, + "k": "f", + "name": "ordinal", + "static": false, + "vis": "private" + }, + { + "annotations": [ + { + "name": "jdk.internal.vm.annotation.Stable", + "values": [] + } + ], + "desc": "I", + "enum": false, + "final": false, + "k": "f", + "name": "hash", + "static": false, + "vis": "private" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "super": "java.lang.Object", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 1, + "typeVarBounds": [ + [ + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Enum" + } + ] + ], + "typeVars": [ + "E" + ] + }, + "java.lang.Object": { + "annotations": [], + "interfaces": [], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()Ljava/lang/Class;", + "final": true, + "k": "m", + "name": "getClass", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "kind": "wildcard" + } + ], + "id": "java.lang.Class" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()I", + "final": false, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": false, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "clone", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.CloneNotSupportedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "notify", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "notifyAll", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)V", + "final": true, + "k": "m", + "name": "wait0", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(JI)V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "9" + }, + { + "kind": "boolean", + "name": "forRemoval", + "value": true + } + ] + } + ], + "desc": "()V", + "final": false, + "k": "m", + "name": "finalize", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.Throwable" + ], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.constant.Constable": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": false, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "extends": { + "args": [], + "id": "java.lang.constant.ConstantDesc" + }, + "kind": "wildcard" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.CharSequence": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "length", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "(I)C", + "final": false, + "k": "m", + "name": "charAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isEmpty", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "(II)Ljava/lang/CharSequence;", + "final": false, + "k": "m", + "name": "subSequence", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "chars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "codePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I", + "final": false, + "k": "m", + "name": "compare", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.String": { + "annotations": [], + "interfaceTypes": [ + { + "args": [], + "id": "java.io.Serializable" + }, + { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.lang.Comparable" + }, + { + "args": [], + "id": "java.lang.CharSequence" + }, + { + "args": [], + "id": "java.lang.constant.Constable" + }, + { + "args": [], + "id": "java.lang.constant.ConstantDesc" + } + ], + "interfaces": [ + "java.io.Serializable", + "java.lang.Comparable", + "java.lang.CharSequence", + "java.lang.constant.Constable", + "java.lang.constant.ConstantDesc" + ], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "(Ljava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/Void;", + "final": false, + "k": "m", + "name": "rangeCheck", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([III)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "([BIII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "([BI)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIILjava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIILjava/nio/charset/Charset;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;[BII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIIZ)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringUTF8NoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringNoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringNoRepl1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIZ)[B", + "final": false, + "k": "m", + "name": "safeTrim", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(IF)I", + "final": false, + "k": "m", + "name": "scale", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Ljava/nio/charset/Charset;", + "final": false, + "k": "m", + "name": "lookupCharset", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;B[B)[B", + "final": false, + "k": "m", + "name": "encode", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;B[BZ)[B", + "final": false, + "k": "m", + "name": "encodeWithEncoder", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[B", + "final": false, + "k": "m", + "name": "getBytesUTF8NoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)Z", + "final": false, + "k": "m", + "name": "isASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytesNoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytesNoRepl1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[B)[B", + "final": false, + "k": "m", + "name": "encodeASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)V", + "final": false, + "k": "m", + "name": "replaceNegatives", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[B)[B", + "final": false, + "k": "m", + "name": "encode8859_1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[BZ)[B", + "final": false, + "k": "m", + "name": "encode8859_1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI[CII)I", + "final": false, + "k": "m", + "name": "decodeASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Z", + "final": false, + "k": "m", + "name": "isNotContinuation", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)Z", + "final": false, + "k": "m", + "name": "isMalformed3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Z", + "final": false, + "k": "m", + "name": "isMalformed3_2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)Z", + "final": false, + "k": "m", + "name": "isMalformed4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Z", + "final": false, + "k": "m", + "name": "isMalformed4_2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Z", + "final": false, + "k": "m", + "name": "isMalformed4_3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)C", + "final": false, + "k": "m", + "name": "decode2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)C", + "final": false, + "k": "m", + "name": "decode3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(IIII)I", + "final": false, + "k": "m", + "name": "decode4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BII[BIZ)I", + "final": false, + "k": "m", + "name": "decodeUTF8_UTF16", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/CharsetDecoder;[C[BII)I", + "final": false, + "k": "m", + "name": "decodeWithDecoder", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)I", + "final": false, + "k": "m", + "name": "malformed3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)I", + "final": false, + "k": "m", + "name": "malformed4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "throwMalformed", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "throwMalformed", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)V", + "final": false, + "k": "m", + "name": "throwUnmappable", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "throwUnmappable", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[BZ)[B", + "final": false, + "k": "m", + "name": "encodeUTF8", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BZ)[B", + "final": false, + "k": "m", + "name": "encodeUTF8_UTF16", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuffer;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuilder;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "length", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isEmpty", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)C", + "final": false, + "k": "m", + "name": "charAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "codePointAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "codePointBefore", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "codePointCount", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "offsetByCodePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II[CI)V", + "final": false, + "k": "m", + "name": "getChars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "(II[BI)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": false, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuffer;)Z", + "final": false, + "k": "m", + "name": "contentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/AbstractStringBuilder;)Z", + "final": false, + "k": "m", + "name": "nonSyncContentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;)Z", + "final": false, + "k": "m", + "name": "contentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "equalsIgnoreCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "compareTo", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "compareToIgnoreCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(ILjava/lang/String;II)Z", + "final": false, + "k": "m", + "name": "regionMatches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(ZILjava/lang/String;II)Z", + "final": false, + "k": "m", + "name": "regionMatches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)Z", + "final": false, + "k": "m", + "name": "startsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "startsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "endsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;II)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BBILjava/lang/String;I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BBILjava/lang/String;I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "substring", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "substring", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Ljava/lang/CharSequence;", + "final": false, + "k": "m", + "name": "subSequence", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "concat", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(CC)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "matches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;)Z", + "final": false, + "k": "m", + "name": "contains", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replaceFirst", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replaceAll", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "splitWithDelimiters", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;IZ)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(CIZ)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.ForceInline", + "values": [] + } + ], + "desc": "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "paramTypes": [ + { + "args": [], + "id": "java.lang.CharSequence" + }, + { + "args": [ + { + "extends": { + "args": [], + "id": "java.lang.CharSequence" + }, + "kind": "wildcard" + } + ], + "id": "java.lang.Iterable" + } + ], + "paramVars": [ + "", + "" + ], + "retSelf": false, + "retType": { + "args": [], + "id": "java.lang.String" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toLowerCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toLowerCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toUpperCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toUpperCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "trim", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "strip", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripLeading", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripTrailing", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isBlank", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/Stream;", + "final": false, + "k": "m", + "name": "lines", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.stream.Stream" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "indent", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "indexOfNonWhitespace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "lastIndexOfNonWhitespace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripIndent", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/List;)I", + "final": false, + "k": "m", + "name": "outdent", + "paramTypes": [ + { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.List" + } + ], + "paramVars": [ + "" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "translateEscapes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/function/Function;)Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "transform", + "paramTypes": [ + { + "args": [ + { + "kind": "wildcard", + "super": { + "args": [], + "id": "java.lang.String" + } + }, + { + "extends": { + "id": "R", + "kind": "typevar" + }, + "kind": "wildcard" + } + ], + "id": "java.util.function.Function" + } + ], + "paramVars": [ + "" + ], + "retSelf": false, + "retType": { + "id": "R", + "kind": "typevar" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [ + [ + { + "args": [], + "id": "java.lang.Object" + } + ] + ], + "typeVars": [ + "R" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "chars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "codePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[C", + "final": false, + "k": "m", + "name": "toCharArray", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "format", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "format", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "formatted", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "copyValueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "copyValueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Z)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(F)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(D)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "intern", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "repeat", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIII)V", + "final": false, + "k": "m", + "name": "repeatCopyRest", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIB)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIIBI)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CIILjava/lang/Void;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/AbstractStringBuilder;Ljava/lang/Void;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BB)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()B", + "final": false, + "k": "m", + "name": "coder", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[B", + "final": false, + "k": "m", + "name": "value", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isLatin1", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "checkIndex", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "checkOffset", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)I", + "final": false, + "k": "m", + "name": "checkBoundsOffCount", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)V", + "final": false, + "k": "m", + "name": "checkBoundsBeginEnd", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOfCodePoint", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": false, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "resolveConstantDesc", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "annotations": [ + { + "name": "jdk.internal.vm.annotation.Stable", + "values": [] + } + ], + "desc": "[B", + "enum": false, + "final": true, + "k": "f", + "name": "value", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "coder", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "I", + "enum": false, + "final": false, + "k": "f", + "name": "hash", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "Z", + "enum": false, + "final": false, + "k": "f", + "name": "hashIsZero", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "constant": "-6849794470754667710", + "desc": "J", + "enum": false, + "final": true, + "k": "f", + "name": "serialVersionUID", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "desc": "Z", + "enum": false, + "final": true, + "k": "f", + "name": "COMPACT_STRINGS", + "static": true, + "vis": "package" + }, + { + "annotations": [], + "desc": "[Ljava/io/ObjectStreamField;", + "enum": false, + "final": true, + "k": "f", + "name": "serialPersistentFields", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "constant": "�", + "desc": "C", + "enum": false, + "final": true, + "k": "f", + "name": "REPL", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "desc": "Ljava/util/Comparator;", + "enum": false, + "final": true, + "k": "f", + "name": "CASE_INSENSITIVE_ORDER", + "static": true, + "vis": "public" + }, + { + "annotations": [], + "constant": "0", + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "LATIN1", + "static": true, + "vis": "package" + }, + { + "annotations": [], + "constant": "1", + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "UTF16", + "static": true, + "vis": "package" + } + ], + "modifiers": [ + "public", + "final" + ], + "origin": "classpath", + "super": "java.lang.Object", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 0, + "typeVarBounds": [], + "typeVars": [] + }, + "java.lang.constant.ConstantDesc": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "resolveConstantDesc", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.ReflectiveOperationException" + ], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + } +} \ No newline at end of file diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.java b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.java new file mode 100644 index 00000000000..3fb288f5341 --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.java @@ -0,0 +1,28 @@ +package e; + +class Routes { + static final String ADMIN = Missing.PREFIX + "/admin"; + static final String LOCAL = "/local"; + + @interface Path { + String[] value(); + } + + enum Kind { A } + + @interface Tagged { + Kind value(); + } + + @Path(ADMIN) + void unknownConstant() { + } + + @Path(LOCAL) + void knownConstant() { + } + + @Tagged(Kind.A) + void enumConstant() { + } +} diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.textproto b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.textproto new file mode 100644 index 00000000000..2fcc913445f --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.textproto @@ -0,0 +1,2021 @@ +tree { + kind: "program" + named: true + start_line: 1 + end_line: 29 + end_byte: 376 + children { + kind: "package_declaration" + named: true + start_line: 1 + end_line: 1 + end_col: 10 + end_byte: 10 + children { + kind: "package" + start_line: 1 + end_line: 1 + end_col: 7 + end_byte: 7 + text: "package" + } + children { + kind: "identifier" + named: true + start_line: 1 + start_col: 8 + end_line: 1 + end_col: 9 + start_byte: 8 + end_byte: 9 + text: "e" + } + children { + kind: ";" + start_line: 1 + start_col: 9 + end_line: 1 + end_col: 10 + start_byte: 9 + end_byte: 10 + text: ";" + } + } + children { + kind: "class_declaration" + named: true + start_line: 3 + end_line: 28 + end_col: 1 + start_byte: 12 + end_byte: 375 + children { + kind: "class" + start_line: 3 + end_line: 3 + end_col: 5 + start_byte: 12 + end_byte: 17 + text: "class" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 3 + start_col: 6 + end_line: 3 + end_col: 12 + start_byte: 18 + end_byte: 24 + text: "Routes" + decls: "e.Routes" + } + children { + kind: "class_body" + named: true + field: "body" + start_line: 3 + start_col: 13 + end_line: 28 + end_col: 1 + start_byte: 25 + end_byte: 375 + children { + kind: "{" + start_line: 3 + start_col: 13 + end_line: 3 + end_col: 14 + start_byte: 25 + end_byte: 26 + text: "{" + } + children { + kind: "field_declaration" + named: true + start_line: 4 + start_col: 2 + end_line: 4 + end_col: 56 + start_byte: 29 + end_byte: 83 + children { + kind: "modifiers" + named: true + start_line: 4 + start_col: 2 + end_line: 4 + end_col: 14 + start_byte: 29 + end_byte: 41 + children { + kind: "static" + start_line: 4 + start_col: 2 + end_line: 4 + end_col: 8 + start_byte: 29 + end_byte: 35 + text: "static" + } + children { + kind: "final" + start_line: 4 + start_col: 9 + end_line: 4 + end_col: 14 + start_byte: 36 + end_byte: 41 + text: "final" + } + } + children { + kind: "type_identifier" + named: true + field: "type" + start_line: 4 + start_col: 15 + end_line: 4 + end_col: 21 + start_byte: 42 + end_byte: 48 + text: "String" + refs { + access: "ref" + outcome: "bound" + target: "java.lang.String" + } + } + children { + kind: "variable_declarator" + named: true + field: "declarator" + start_line: 4 + start_col: 22 + end_line: 4 + end_col: 55 + start_byte: 49 + end_byte: 82 + children { + kind: "identifier" + named: true + field: "name" + start_line: 4 + start_col: 22 + end_line: 4 + end_col: 27 + start_byte: 49 + end_byte: 54 + text: "ADMIN" + decls: "e.Routes#ADMIN" + } + children { + kind: "=" + start_line: 4 + start_col: 28 + end_line: 4 + end_col: 29 + start_byte: 55 + end_byte: 56 + text: "=" + } + children { + kind: "binary_expression" + named: true + field: "value" + start_line: 4 + start_col: 30 + end_line: 4 + end_col: 55 + start_byte: 57 + end_byte: 82 + children { + kind: "field_access" + named: true + field: "left" + start_line: 4 + start_col: 30 + end_line: 4 + end_col: 44 + start_byte: 57 + end_byte: 71 + children { + kind: "identifier" + named: true + field: "object" + start_line: 4 + start_col: 30 + end_line: 4 + end_col: 37 + start_byte: 57 + end_byte: 64 + text: "Missing" + refs { + access: "r" + outcome: "unresolved" + reason: "not_found" + } + } + children { + kind: "." + start_line: 4 + start_col: 37 + end_line: 4 + end_col: 38 + start_byte: 64 + end_byte: 65 + text: "." + } + children { + kind: "identifier" + named: true + field: "field" + start_line: 4 + start_col: 38 + end_line: 4 + end_col: 44 + start_byte: 65 + end_byte: 71 + text: "PREFIX" + } + } + children { + kind: "+" + field: "operator" + start_line: 4 + start_col: 45 + end_line: 4 + end_col: 46 + start_byte: 72 + end_byte: 73 + text: "+" + } + children { + kind: "string_literal" + named: true + field: "right" + start_line: 4 + start_col: 47 + end_line: 4 + end_col: 55 + start_byte: 74 + end_byte: 82 + text: "\"/admin\"" + children { + kind: "\"" + start_line: 4 + start_col: 47 + end_line: 4 + end_col: 48 + start_byte: 74 + end_byte: 75 + text: "\"" + } + children { + kind: "string_fragment" + named: true + start_line: 4 + start_col: 48 + end_line: 4 + end_col: 54 + start_byte: 75 + end_byte: 81 + text: "/admin" + } + children { + kind: "\"" + start_line: 4 + start_col: 54 + end_line: 4 + end_col: 55 + start_byte: 81 + end_byte: 82 + text: "\"" + } + } + } + } + children { + kind: ";" + start_line: 4 + start_col: 55 + end_line: 4 + end_col: 56 + start_byte: 82 + end_byte: 83 + text: ";" + } + } + children { + kind: "field_declaration" + named: true + start_line: 5 + start_col: 2 + end_line: 5 + end_col: 39 + start_byte: 86 + end_byte: 123 + children { + kind: "modifiers" + named: true + start_line: 5 + start_col: 2 + end_line: 5 + end_col: 14 + start_byte: 86 + end_byte: 98 + children { + kind: "static" + start_line: 5 + start_col: 2 + end_line: 5 + end_col: 8 + start_byte: 86 + end_byte: 92 + text: "static" + } + children { + kind: "final" + start_line: 5 + start_col: 9 + end_line: 5 + end_col: 14 + start_byte: 93 + end_byte: 98 + text: "final" + } + } + children { + kind: "type_identifier" + named: true + field: "type" + start_line: 5 + start_col: 15 + end_line: 5 + end_col: 21 + start_byte: 99 + end_byte: 105 + text: "String" + refs { + access: "ref" + outcome: "bound" + target: "java.lang.String" + } + } + children { + kind: "variable_declarator" + named: true + field: "declarator" + start_line: 5 + start_col: 22 + end_line: 5 + end_col: 38 + start_byte: 106 + end_byte: 122 + children { + kind: "identifier" + named: true + field: "name" + start_line: 5 + start_col: 22 + end_line: 5 + end_col: 27 + start_byte: 106 + end_byte: 111 + text: "LOCAL" + decls: "e.Routes#LOCAL" + } + children { + kind: "=" + start_line: 5 + start_col: 28 + end_line: 5 + end_col: 29 + start_byte: 112 + end_byte: 113 + text: "=" + } + children { + kind: "string_literal" + named: true + field: "value" + start_line: 5 + start_col: 30 + end_line: 5 + end_col: 38 + start_byte: 114 + end_byte: 122 + text: "\"/local\"" + children { + kind: "\"" + start_line: 5 + start_col: 30 + end_line: 5 + end_col: 31 + start_byte: 114 + end_byte: 115 + text: "\"" + } + children { + kind: "string_fragment" + named: true + start_line: 5 + start_col: 31 + end_line: 5 + end_col: 37 + start_byte: 115 + end_byte: 121 + text: "/local" + } + children { + kind: "\"" + start_line: 5 + start_col: 37 + end_line: 5 + end_col: 38 + start_byte: 121 + end_byte: 122 + text: "\"" + } + } + } + children { + kind: ";" + start_line: 5 + start_col: 38 + end_line: 5 + end_col: 39 + start_byte: 122 + end_byte: 123 + text: ";" + } + } + children { + kind: "annotation_type_declaration" + named: true + start_line: 7 + start_col: 2 + end_line: 9 + end_col: 3 + start_byte: 127 + end_byte: 170 + children { + kind: "@interface" + start_line: 7 + start_col: 2 + end_line: 7 + end_col: 12 + start_byte: 127 + end_byte: 137 + text: "@interface" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 7 + start_col: 13 + end_line: 7 + end_col: 17 + start_byte: 138 + end_byte: 142 + text: "Path" + decls: "e.Routes$Path" + } + children { + kind: "annotation_type_body" + named: true + field: "body" + start_line: 7 + start_col: 18 + end_line: 9 + end_col: 3 + start_byte: 143 + end_byte: 170 + children { + kind: "{" + start_line: 7 + start_col: 18 + end_line: 7 + end_col: 19 + start_byte: 143 + end_byte: 144 + text: "{" + } + children { + kind: "annotation_type_element_declaration" + named: true + start_line: 8 + start_col: 4 + end_line: 8 + end_col: 21 + start_byte: 149 + end_byte: 166 + children { + kind: "array_type" + named: true + field: "type" + start_line: 8 + start_col: 4 + end_line: 8 + end_col: 12 + start_byte: 149 + end_byte: 157 + children { + kind: "type_identifier" + named: true + field: "element" + start_line: 8 + start_col: 4 + end_line: 8 + end_col: 10 + start_byte: 149 + end_byte: 155 + text: "String" + refs { + access: "ref" + outcome: "bound" + target: "java.lang.String" + } + } + children { + kind: "dimensions" + named: true + field: "dimensions" + start_line: 8 + start_col: 10 + end_line: 8 + end_col: 12 + start_byte: 155 + end_byte: 157 + children { + kind: "[" + start_line: 8 + start_col: 10 + end_line: 8 + end_col: 11 + start_byte: 155 + end_byte: 156 + text: "[" + } + children { + kind: "]" + start_line: 8 + start_col: 11 + end_line: 8 + end_col: 12 + start_byte: 156 + end_byte: 157 + text: "]" + } + } + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 8 + start_col: 13 + end_line: 8 + end_col: 18 + start_byte: 158 + end_byte: 163 + text: "value" + decls: "e.Routes$Path#value()" + } + children { + kind: "(" + start_line: 8 + start_col: 18 + end_line: 8 + end_col: 19 + start_byte: 163 + end_byte: 164 + text: "(" + } + children { + kind: ")" + start_line: 8 + start_col: 19 + end_line: 8 + end_col: 20 + start_byte: 164 + end_byte: 165 + text: ")" + } + children { + kind: ";" + start_line: 8 + start_col: 20 + end_line: 8 + end_col: 21 + start_byte: 165 + end_byte: 166 + text: ";" + } + } + children { + kind: "}" + start_line: 9 + start_col: 2 + end_line: 9 + end_col: 3 + start_byte: 169 + end_byte: 170 + text: "}" + } + } + } + children { + kind: "enum_declaration" + named: true + start_line: 11 + start_col: 2 + end_line: 11 + end_col: 17 + start_byte: 174 + end_byte: 189 + children { + kind: "enum" + start_line: 11 + start_col: 2 + end_line: 11 + end_col: 6 + start_byte: 174 + end_byte: 178 + text: "enum" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 11 + start_col: 7 + end_line: 11 + end_col: 11 + start_byte: 179 + end_byte: 183 + text: "Kind" + decls: "e.Routes$Kind" + } + children { + kind: "enum_body" + named: true + field: "body" + start_line: 11 + start_col: 12 + end_line: 11 + end_col: 17 + start_byte: 184 + end_byte: 189 + children { + kind: "{" + start_line: 11 + start_col: 12 + end_line: 11 + end_col: 13 + start_byte: 184 + end_byte: 185 + text: "{" + } + children { + kind: "enum_constant" + named: true + start_line: 11 + start_col: 14 + end_line: 11 + end_col: 15 + start_byte: 186 + end_byte: 187 + children { + kind: "identifier" + named: true + field: "name" + start_line: 11 + start_col: 14 + end_line: 11 + end_col: 15 + start_byte: 186 + end_byte: 187 + text: "A" + decls: "e.Routes$Kind#A" + } + } + children { + kind: "}" + start_line: 11 + start_col: 16 + end_line: 11 + end_col: 17 + start_byte: 188 + end_byte: 189 + text: "}" + } + } + } + children { + kind: "annotation_type_declaration" + named: true + start_line: 13 + start_col: 2 + end_line: 15 + end_col: 3 + start_byte: 193 + end_byte: 234 + children { + kind: "@interface" + start_line: 13 + start_col: 2 + end_line: 13 + end_col: 12 + start_byte: 193 + end_byte: 203 + text: "@interface" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 13 + start_col: 13 + end_line: 13 + end_col: 19 + start_byte: 204 + end_byte: 210 + text: "Tagged" + decls: "e.Routes$Tagged" + } + children { + kind: "annotation_type_body" + named: true + field: "body" + start_line: 13 + start_col: 20 + end_line: 15 + end_col: 3 + start_byte: 211 + end_byte: 234 + children { + kind: "{" + start_line: 13 + start_col: 20 + end_line: 13 + end_col: 21 + start_byte: 211 + end_byte: 212 + text: "{" + } + children { + kind: "annotation_type_element_declaration" + named: true + start_line: 14 + start_col: 4 + end_line: 14 + end_col: 17 + start_byte: 217 + end_byte: 230 + children { + kind: "type_identifier" + named: true + field: "type" + start_line: 14 + start_col: 4 + end_line: 14 + end_col: 8 + start_byte: 217 + end_byte: 221 + text: "Kind" + refs { + access: "ref" + outcome: "bound" + target: "e.Routes$Kind" + } + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 14 + start_col: 9 + end_line: 14 + end_col: 14 + start_byte: 222 + end_byte: 227 + text: "value" + decls: "e.Routes$Tagged#value()" + } + children { + kind: "(" + start_line: 14 + start_col: 14 + end_line: 14 + end_col: 15 + start_byte: 227 + end_byte: 228 + text: "(" + } + children { + kind: ")" + start_line: 14 + start_col: 15 + end_line: 14 + end_col: 16 + start_byte: 228 + end_byte: 229 + text: ")" + } + children { + kind: ";" + start_line: 14 + start_col: 16 + end_line: 14 + end_col: 17 + start_byte: 229 + end_byte: 230 + text: ";" + } + } + children { + kind: "}" + start_line: 15 + start_col: 2 + end_line: 15 + end_col: 3 + start_byte: 233 + end_byte: 234 + text: "}" + } + } + } + children { + kind: "method_declaration" + named: true + start_line: 17 + start_col: 2 + end_line: 19 + end_col: 3 + start_byte: 238 + end_byte: 281 + children { + kind: "modifiers" + named: true + start_line: 17 + start_col: 2 + end_line: 17 + end_col: 14 + start_byte: 238 + end_byte: 250 + children { + kind: "annotation" + named: true + start_line: 17 + start_col: 2 + end_line: 17 + end_col: 14 + start_byte: 238 + end_byte: 250 + children { + kind: "@" + start_line: 17 + start_col: 2 + end_line: 17 + end_col: 3 + start_byte: 238 + end_byte: 239 + text: "@" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 17 + start_col: 3 + end_line: 17 + end_col: 7 + start_byte: 239 + end_byte: 243 + text: "Path" + refs { + access: "ref" + outcome: "bound" + target: "e.Routes$Path" + } + } + children { + kind: "annotation_argument_list" + named: true + field: "arguments" + start_line: 17 + start_col: 7 + end_line: 17 + end_col: 14 + start_byte: 243 + end_byte: 250 + children { + kind: "(" + start_line: 17 + start_col: 7 + end_line: 17 + end_col: 8 + start_byte: 243 + end_byte: 244 + text: "(" + } + children { + kind: "identifier" + named: true + start_line: 17 + start_col: 8 + end_line: 17 + end_col: 13 + start_byte: 244 + end_byte: 249 + text: "ADMIN" + refs { + access: "r" + outcome: "bound" + target: "e.Routes#ADMIN" + } + } + children { + kind: ")" + start_line: 17 + start_col: 13 + end_line: 17 + end_col: 14 + start_byte: 249 + end_byte: 250 + text: ")" + } + } + } + } + children { + kind: "void_type" + named: true + field: "type" + start_line: 18 + start_col: 2 + end_line: 18 + end_col: 6 + start_byte: 253 + end_byte: 257 + text: "void" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 18 + start_col: 7 + end_line: 18 + end_col: 22 + start_byte: 258 + end_byte: 273 + text: "unknownConstant" + decls: "e.Routes#unknownConstant()" + } + children { + kind: "formal_parameters" + named: true + field: "parameters" + start_line: 18 + start_col: 22 + end_line: 18 + end_col: 24 + start_byte: 273 + end_byte: 275 + children { + kind: "(" + start_line: 18 + start_col: 22 + end_line: 18 + end_col: 23 + start_byte: 273 + end_byte: 274 + text: "(" + } + children { + kind: ")" + start_line: 18 + start_col: 23 + end_line: 18 + end_col: 24 + start_byte: 274 + end_byte: 275 + text: ")" + } + } + children { + kind: "block" + named: true + field: "body" + start_line: 18 + start_col: 25 + end_line: 19 + end_col: 3 + start_byte: 276 + end_byte: 281 + children { + kind: "{" + start_line: 18 + start_col: 25 + end_line: 18 + end_col: 26 + start_byte: 276 + end_byte: 277 + text: "{" + } + children { + kind: "}" + start_line: 19 + start_col: 2 + end_line: 19 + end_col: 3 + start_byte: 280 + end_byte: 281 + text: "}" + } + } + } + children { + kind: "method_declaration" + named: true + start_line: 21 + start_col: 2 + end_line: 23 + end_col: 3 + start_byte: 285 + end_byte: 326 + children { + kind: "modifiers" + named: true + start_line: 21 + start_col: 2 + end_line: 21 + end_col: 14 + start_byte: 285 + end_byte: 297 + children { + kind: "annotation" + named: true + start_line: 21 + start_col: 2 + end_line: 21 + end_col: 14 + start_byte: 285 + end_byte: 297 + children { + kind: "@" + start_line: 21 + start_col: 2 + end_line: 21 + end_col: 3 + start_byte: 285 + end_byte: 286 + text: "@" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 21 + start_col: 3 + end_line: 21 + end_col: 7 + start_byte: 286 + end_byte: 290 + text: "Path" + refs { + access: "ref" + outcome: "bound" + target: "e.Routes$Path" + } + } + children { + kind: "annotation_argument_list" + named: true + field: "arguments" + start_line: 21 + start_col: 7 + end_line: 21 + end_col: 14 + start_byte: 290 + end_byte: 297 + children { + kind: "(" + start_line: 21 + start_col: 7 + end_line: 21 + end_col: 8 + start_byte: 290 + end_byte: 291 + text: "(" + } + children { + kind: "identifier" + named: true + start_line: 21 + start_col: 8 + end_line: 21 + end_col: 13 + start_byte: 291 + end_byte: 296 + text: "LOCAL" + refs { + access: "r" + outcome: "bound" + target: "e.Routes#LOCAL" + facts { + key: "constant" + value { + text: "/local" + } + } + } + } + children { + kind: ")" + start_line: 21 + start_col: 13 + end_line: 21 + end_col: 14 + start_byte: 296 + end_byte: 297 + text: ")" + } + } + } + } + children { + kind: "void_type" + named: true + field: "type" + start_line: 22 + start_col: 2 + end_line: 22 + end_col: 6 + start_byte: 300 + end_byte: 304 + text: "void" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 22 + start_col: 7 + end_line: 22 + end_col: 20 + start_byte: 305 + end_byte: 318 + text: "knownConstant" + decls: "e.Routes#knownConstant()" + } + children { + kind: "formal_parameters" + named: true + field: "parameters" + start_line: 22 + start_col: 20 + end_line: 22 + end_col: 22 + start_byte: 318 + end_byte: 320 + children { + kind: "(" + start_line: 22 + start_col: 20 + end_line: 22 + end_col: 21 + start_byte: 318 + end_byte: 319 + text: "(" + } + children { + kind: ")" + start_line: 22 + start_col: 21 + end_line: 22 + end_col: 22 + start_byte: 319 + end_byte: 320 + text: ")" + } + } + children { + kind: "block" + named: true + field: "body" + start_line: 22 + start_col: 23 + end_line: 23 + end_col: 3 + start_byte: 321 + end_byte: 326 + children { + kind: "{" + start_line: 22 + start_col: 23 + end_line: 22 + end_col: 24 + start_byte: 321 + end_byte: 322 + text: "{" + } + children { + kind: "}" + start_line: 23 + start_col: 2 + end_line: 23 + end_col: 3 + start_byte: 325 + end_byte: 326 + text: "}" + } + } + } + children { + kind: "method_declaration" + named: true + start_line: 25 + start_col: 2 + end_line: 27 + end_col: 3 + start_byte: 330 + end_byte: 373 + children { + kind: "modifiers" + named: true + start_line: 25 + start_col: 2 + end_line: 25 + end_col: 17 + start_byte: 330 + end_byte: 345 + children { + kind: "annotation" + named: true + start_line: 25 + start_col: 2 + end_line: 25 + end_col: 17 + start_byte: 330 + end_byte: 345 + children { + kind: "@" + start_line: 25 + start_col: 2 + end_line: 25 + end_col: 3 + start_byte: 330 + end_byte: 331 + text: "@" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 25 + start_col: 3 + end_line: 25 + end_col: 9 + start_byte: 331 + end_byte: 337 + text: "Tagged" + refs { + access: "ref" + outcome: "bound" + target: "e.Routes$Tagged" + } + } + children { + kind: "annotation_argument_list" + named: true + field: "arguments" + start_line: 25 + start_col: 9 + end_line: 25 + end_col: 17 + start_byte: 337 + end_byte: 345 + children { + kind: "(" + start_line: 25 + start_col: 9 + end_line: 25 + end_col: 10 + start_byte: 337 + end_byte: 338 + text: "(" + } + children { + kind: "field_access" + named: true + start_line: 25 + start_col: 10 + end_line: 25 + end_col: 16 + start_byte: 338 + end_byte: 344 + children { + kind: "identifier" + named: true + field: "object" + start_line: 25 + start_col: 10 + end_line: 25 + end_col: 14 + start_byte: 338 + end_byte: 342 + text: "Kind" + refs { + access: "ref" + outcome: "bound" + target: "e.Routes$Kind" + } + } + children { + kind: "." + start_line: 25 + start_col: 14 + end_line: 25 + end_col: 15 + start_byte: 342 + end_byte: 343 + text: "." + } + children { + kind: "identifier" + named: true + field: "field" + start_line: 25 + start_col: 15 + end_line: 25 + end_col: 16 + start_byte: 343 + end_byte: 344 + text: "A" + refs { + access: "r" + outcome: "bound" + target: "e.Routes$Kind#A" + } + } + } + children { + kind: ")" + start_line: 25 + start_col: 16 + end_line: 25 + end_col: 17 + start_byte: 344 + end_byte: 345 + text: ")" + } + } + } + } + children { + kind: "void_type" + named: true + field: "type" + start_line: 26 + start_col: 2 + end_line: 26 + end_col: 6 + start_byte: 348 + end_byte: 352 + text: "void" + } + children { + kind: "identifier" + named: true + field: "name" + start_line: 26 + start_col: 7 + end_line: 26 + end_col: 19 + start_byte: 353 + end_byte: 365 + text: "enumConstant" + decls: "e.Routes#enumConstant()" + } + children { + kind: "formal_parameters" + named: true + field: "parameters" + start_line: 26 + start_col: 19 + end_line: 26 + end_col: 21 + start_byte: 365 + end_byte: 367 + children { + kind: "(" + start_line: 26 + start_col: 19 + end_line: 26 + end_col: 20 + start_byte: 365 + end_byte: 366 + text: "(" + } + children { + kind: ")" + start_line: 26 + start_col: 20 + end_line: 26 + end_col: 21 + start_byte: 366 + end_byte: 367 + text: ")" + } + } + children { + kind: "block" + named: true + field: "body" + start_line: 26 + start_col: 22 + end_line: 27 + end_col: 3 + start_byte: 368 + end_byte: 373 + children { + kind: "{" + start_line: 26 + start_col: 22 + end_line: 26 + end_col: 23 + start_byte: 368 + end_byte: 369 + text: "{" + } + children { + kind: "}" + start_line: 27 + start_col: 2 + end_line: 27 + end_col: 3 + start_byte: 372 + end_byte: 373 + text: "}" + } + } + } + children { + kind: "}" + start_line: 28 + end_line: 28 + end_col: 1 + start_byte: 374 + end_byte: 375 + text: "}" + } + } + } +} +path: "e/Routes.java" +semantic: true +symbols { + id: "e.Routes#()" + kind: "constructor" + name: "Routes" + owner: "e.Routes" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Routes$Kind#()" + kind: "constructor" + name: "Kind" + owner: "e.Routes$Kind" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Routes$Kind#valueOf(java.lang.String)" + kind: "method" + name: "valueOf" + owner: "e.Routes$Kind" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Routes$Kind#values()" + kind: "method" + name: "values" + owner: "e.Routes$Kind" + facts { + key: "implicit" + value { + flag: true + } + } +} +symbols { + id: "e.Routes" + kind: "type" + name: "Routes" + place { + start_byte: 18 + end_byte: 24 + line: 3 + column: 6 + } +} +symbols { + id: "e.Routes#ADMIN" + kind: "field" + name: "ADMIN" + owner: "e.Routes" + place { + start_byte: 49 + end_byte: 54 + line: 4 + column: 22 + } + facts { + key: "type" + value { + type { + kind: "named" + id: "java.lang.String" + origin: "jdk" + source: "declared" + } + } + } +} +symbols { + id: "e.Routes#LOCAL" + kind: "constant" + name: "LOCAL" + owner: "e.Routes" + place { + start_byte: 106 + end_byte: 111 + line: 5 + column: 22 + } + facts { + key: "constant" + value { + text: "/local" + } + } +} +symbols { + id: "e.Routes$Path" + kind: "type" + name: "Path" + owner: "e.Routes" + place { + start_byte: 138 + end_byte: 142 + line: 7 + column: 13 + } +} +symbols { + id: "e.Routes$Path#value()" + kind: "method" + name: "value" + owner: "e.Routes$Path" + place { + start_byte: 158 + end_byte: 163 + line: 8 + column: 13 + } +} +symbols { + id: "e.Routes$Kind" + kind: "type" + name: "Kind" + owner: "e.Routes" + place { + start_byte: 179 + end_byte: 183 + line: 11 + column: 7 + } +} +symbols { + id: "e.Routes$Kind#A" + kind: "enum_member" + name: "A" + owner: "e.Routes$Kind" + place { + start_byte: 186 + end_byte: 187 + line: 11 + column: 14 + } +} +symbols { + id: "e.Routes$Tagged" + kind: "type" + name: "Tagged" + owner: "e.Routes" + place { + start_byte: 204 + end_byte: 210 + line: 13 + column: 13 + } +} +symbols { + id: "e.Routes$Tagged#value()" + kind: "method" + name: "value" + owner: "e.Routes$Tagged" + place { + start_byte: 222 + end_byte: 227 + line: 14 + column: 9 + } +} +symbols { + id: "e.Routes#unknownConstant()" + kind: "method" + name: "unknownConstant" + owner: "e.Routes" + place { + start_byte: 258 + end_byte: 273 + line: 18 + column: 7 + } + facts { + key: "returns" + value { + type { + kind: "named" + id: "void" + source: "declared" + } + } + } +} +symbols { + id: "e.Routes#knownConstant()" + kind: "method" + name: "knownConstant" + owner: "e.Routes" + place { + start_byte: 305 + end_byte: 318 + line: 22 + column: 7 + } + facts { + key: "returns" + value { + type { + kind: "named" + id: "void" + source: "declared" + } + } + } +} +symbols { + id: "e.Routes#enumConstant()" + kind: "method" + name: "enumConstant" + owner: "e.Routes" + place { + start_byte: 353 + end_byte: 365 + line: 26 + column: 7 + } + facts { + key: "returns" + value { + type { + kind: "named" + id: "void" + source: "declared" + } + } + } +} +facts { + key: "e.Routes" + value { + kind: "class" + tier: "IN_PROJECT" + parent: "e/Routes.java::" + props { + name: "simple_name" + values: "Routes" + } + props { + name: "type_fqn" + values: "e.Routes" + } + } +} +facts { + key: "e.Routes#ADMIN" + value { + kind: "field" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "member_name" + values: "ADMIN" + } + props { + name: "modifiers" + values: "static,final" + } + props { + name: "simple_name" + values: "ADMIN" + } + props { + name: "type_fqn" + values: "e.Routes" + } + type: "java.lang.String" + } +} +facts { + key: "e.Routes#LOCAL" + value { + kind: "field" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "member_name" + values: "LOCAL" + } + props { + name: "modifiers" + values: "static,final" + } + props { + name: "simple_name" + values: "LOCAL" + } + props { + name: "type_fqn" + values: "e.Routes" + } + type: "java.lang.String" + } +} +facts { + key: "e.Routes#enumConstant()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "annotation_values" + values: "[{\"elements\":[{\"name\":\"value\",\"value\":{\"constant\":\"A\",\"kind\":\"enum\",\"type\":\"e.Routes$Kind\"}}],\"id\":\"e.Routes$Tagged\"}]" + } + props { + name: "member_name" + values: "enumConstant" + } + props { + name: "param_types" + values: "" + } + props { + name: "simple_name" + values: "enumConstant" + } + props { + name: "type_fqn" + values: "e.Routes" + } + returns: "void" + annotations: "e.Routes$Tagged" + } +} +facts { + key: "e.Routes#knownConstant()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "annotation_values" + values: "[{\"elements\":[{\"name\":\"value\",\"value\":{\"kind\":\"string\",\"value\":\"/local\"}}],\"id\":\"e.Routes$Path\"}]" + } + props { + name: "member_name" + values: "knownConstant" + } + props { + name: "param_types" + values: "" + } + props { + name: "simple_name" + values: "knownConstant" + } + props { + name: "type_fqn" + values: "e.Routes" + } + returns: "void" + annotations: "e.Routes$Path" + } +} +facts { + key: "e.Routes#unknownConstant()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "annotation_values" + values: "[{\"elements\":[{\"name\":\"value\",\"value\":{\"kind\":\"expression\",\"text\":\"ADMIN\"}}],\"id\":\"e.Routes$Path\"}]" + } + props { + name: "member_name" + values: "unknownConstant" + } + props { + name: "param_types" + values: "" + } + props { + name: "simple_name" + values: "unknownConstant" + } + props { + name: "type_fqn" + values: "e.Routes" + } + returns: "void" + annotations: "e.Routes$Path" + } +} +facts { + key: "e.Routes$Kind" + value { + kind: "enum" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "simple_name" + values: "Kind" + } + props { + name: "type_fqn" + values: "e.Routes$Kind" + } + } +} +facts { + key: "e.Routes$Kind#()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes$Kind" + props { + name: "member_name" + values: "Kind" + } + props { + name: "param_types" + values: "" + } + props { + name: "type_fqn" + values: "e.Routes$Kind" + } + } +} +facts { + key: "e.Routes$Kind#A" + value { + kind: "field" + tier: "IN_PROJECT" + parent: "e.Routes$Kind" + props { + name: "member_name" + values: "A" + } + props { + name: "simple_name" + values: "A" + } + props { + name: "type_fqn" + values: "e.Routes$Kind" + } + type: "e.Routes$Kind" + } +} +facts { + key: "e.Routes$Path" + value { + kind: "annotation" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "simple_name" + values: "Path" + } + props { + name: "type_fqn" + values: "e.Routes$Path" + } + } +} +facts { + key: "e.Routes$Path#value()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes$Path" + props { + name: "member_name" + values: "value" + } + props { + name: "param_types" + values: "" + } + props { + name: "simple_name" + values: "value" + } + props { + name: "type_fqn" + values: "e.Routes$Path" + } + returns: "java.lang.String[]" + } +} +facts { + key: "e.Routes$Tagged" + value { + kind: "annotation" + tier: "IN_PROJECT" + parent: "e.Routes" + props { + name: "simple_name" + values: "Tagged" + } + props { + name: "type_fqn" + values: "e.Routes$Tagged" + } + } +} +facts { + key: "e.Routes$Tagged#value()" + value { + kind: "method" + tier: "IN_PROJECT" + parent: "e.Routes$Tagged" + props { + name: "member_name" + values: "value" + } + props { + name: "param_types" + values: "" + } + props { + name: "simple_name" + values: "value" + } + props { + name: "type_fqn" + values: "e.Routes$Tagged" + } + returns: "e.Routes$Kind" + } +} +facts { + key: "java.lang.String" + value { + kind: "class" + tier: "EXTERNAL_KNOWN" + } +} diff --git a/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.types.json b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.types.json new file mode 100644 index 00000000000..c9c10fa9ff8 --- /dev/null +++ b/java-frontend-semsitter/src/test/resources/org/sonar/java/semsitter/translator/Routes.types.json @@ -0,0 +1,4084 @@ +{ + "e.Routes": { + "annotations": [], + "id": "e.Routes", + "interfaces": [], + "kind": "class", + "members": [ + { + "annotations": [], + "facts": { + "kind": "field", + "parent": "e.Routes", + "props": { + "member_name": [ + "ADMIN" + ], + "modifiers": [ + "static,final" + ], + "simple_name": [ + "ADMIN" + ], + "type_fqn": [ + "e.Routes" + ] + }, + "tier": "IN_PROJECT", + "type": [ + "java.lang.String" + ] + }, + "id": "e.Routes#ADMIN" + }, + { + "annotations": [], + "constant": "/local", + "facts": { + "kind": "field", + "parent": "e.Routes", + "props": { + "member_name": [ + "LOCAL" + ], + "modifiers": [ + "static,final" + ], + "simple_name": [ + "LOCAL" + ], + "type_fqn": [ + "e.Routes" + ] + }, + "tier": "IN_PROJECT", + "type": [ + "java.lang.String" + ] + }, + "id": "e.Routes#LOCAL" + }, + { + "annotations": [ + { + "name": "e.Routes$Tagged", + "values": [ + { + "const": "A", + "kind": "enum", + "name": "value", + "type": "e.Routes$Kind" + } + ] + } + ], + "facts": { + "annotations": [ + "e.Routes$Tagged" + ], + "kind": "method", + "parent": "e.Routes", + "props": { + "annotation_values": [ + "[{\"elements\":[{\"name\":\"value\",\"value\":{\"constant\":\"A\",\"kind\":\"enum\",\"type\":\"e.Routes$Kind\"}}],\"id\":\"e.Routes$Tagged\"}]" + ], + "member_name": [ + "enumConstant" + ], + "param_types": [ + "" + ], + "simple_name": [ + "enumConstant" + ], + "type_fqn": [ + "e.Routes" + ] + }, + "returns": [ + "void" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes#enumConstant()", + "throws": [], + "varargs": false + }, + { + "annotations": [ + { + "name": "e.Routes$Path", + "values": [ + { + "kind": "string", + "name": "value", + "value": "/local" + } + ] + } + ], + "facts": { + "annotations": [ + "e.Routes$Path" + ], + "kind": "method", + "parent": "e.Routes", + "props": { + "annotation_values": [ + "[{\"elements\":[{\"name\":\"value\",\"value\":{\"kind\":\"string\",\"value\":\"/local\"}}],\"id\":\"e.Routes$Path\"}]" + ], + "member_name": [ + "knownConstant" + ], + "param_types": [ + "" + ], + "simple_name": [ + "knownConstant" + ], + "type_fqn": [ + "e.Routes" + ] + }, + "returns": [ + "void" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes#knownConstant()", + "throws": [], + "varargs": false + }, + { + "annotations": [ + { + "name": "e.Routes$Path", + "values": [ + { + "kind": "expression", + "name": "value", + "text": "ADMIN" + } + ] + } + ], + "facts": { + "annotations": [ + "e.Routes$Path" + ], + "kind": "method", + "parent": "e.Routes", + "props": { + "annotation_values": [ + "[{\"elements\":[{\"name\":\"value\",\"value\":{\"kind\":\"expression\",\"text\":\"ADMIN\"}}],\"id\":\"e.Routes$Path\"}]" + ], + "member_name": [ + "unknownConstant" + ], + "param_types": [ + "" + ], + "simple_name": [ + "unknownConstant" + ], + "type_fqn": [ + "e.Routes" + ] + }, + "returns": [ + "void" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes#unknownConstant()", + "throws": [], + "varargs": false + }, + { + "annotations": [], + "facts": { + "kind": "enum", + "parent": "e.Routes", + "props": { + "simple_name": [ + "Kind" + ], + "type_fqn": [ + "e.Routes$Kind" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Kind" + }, + { + "annotations": [], + "facts": { + "kind": "annotation", + "parent": "e.Routes", + "props": { + "simple_name": [ + "Path" + ], + "type_fqn": [ + "e.Routes$Path" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Path" + }, + { + "annotations": [], + "facts": { + "kind": "annotation", + "parent": "e.Routes", + "props": { + "simple_name": [ + "Tagged" + ], + "type_fqn": [ + "e.Routes$Tagged" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Tagged" + } + ], + "modifiers": [], + "origin": "project", + "typeParameters": 0, + "typeVars": [] + }, + "e.Routes$Kind": { + "annotations": [], + "id": "e.Routes$Kind", + "interfaceTypes": [], + "interfaces": [], + "kind": "enum", + "members": [ + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Routes$Kind", + "props": { + "member_name": [ + "Kind" + ], + "param_types": [ + "" + ], + "type_fqn": [ + "e.Routes$Kind" + ] + }, + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Kind#\u003cinit\u003e()", + "throws": [], + "varargs": false + }, + { + "annotations": [], + "facts": { + "kind": "field", + "parent": "e.Routes$Kind", + "props": { + "member_name": [ + "A" + ], + "simple_name": [ + "A" + ], + "type_fqn": [ + "e.Routes$Kind" + ] + }, + "tier": "IN_PROJECT", + "type": [ + "e.Routes$Kind" + ] + }, + "id": "e.Routes$Kind#A" + }, + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Routes$Kind", + "props": { + "member_name": [ + "values" + ], + "modifiers": [ + "public", + "static" + ], + "param_types": [ + "" + ], + "type_fqn": [ + "e.Routes$Kind" + ] + }, + "returns": [ + "e.Routes$Kind[]" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Kind#values()", + "throws": [], + "varargs": false + }, + { + "annotations": [], + "facts": { + "kind": "method", + "params": [ + "java.lang.String" + ], + "parent": "e.Routes$Kind", + "props": { + "member_name": [ + "valueOf" + ], + "modifiers": [ + "public", + "static" + ], + "param_types": [ + "java.lang.String" + ], + "type_fqn": [ + "e.Routes$Kind" + ] + }, + "returns": [ + "e.Routes$Kind" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Kind#valueOf(java.lang.String)", + "throws": [], + "varargs": false + } + ], + "modifiers": [ + "static" + ], + "origin": "project", + "super": "java.lang.Enum", + "superType": { + "args": [ + { + "args": [], + "id": "e.Routes$Kind" + } + ], + "id": "java.lang.Enum" + }, + "typeParameters": 0, + "typeVars": [] + }, + "e.Routes$Path": { + "annotations": [], + "id": "e.Routes$Path", + "interfaces": [ + "java.lang.annotation.Annotation" + ], + "kind": "annotation", + "members": [ + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Routes$Path", + "props": { + "member_name": [ + "value" + ], + "param_types": [ + "" + ], + "simple_name": [ + "value" + ], + "type_fqn": [ + "e.Routes$Path" + ] + }, + "returns": [ + "java.lang.String[]" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Path#value()", + "throws": [], + "varargs": false + } + ], + "modifiers": [ + "static" + ], + "origin": "project", + "typeParameters": 0, + "typeVars": [] + }, + "e.Routes$Tagged": { + "annotations": [], + "id": "e.Routes$Tagged", + "interfaces": [ + "java.lang.annotation.Annotation" + ], + "kind": "annotation", + "members": [ + { + "annotations": [], + "facts": { + "kind": "method", + "parent": "e.Routes$Tagged", + "props": { + "member_name": [ + "value" + ], + "param_types": [ + "" + ], + "simple_name": [ + "value" + ], + "type_fqn": [ + "e.Routes$Tagged" + ] + }, + "returns": [ + "e.Routes$Kind" + ], + "tier": "IN_PROJECT" + }, + "id": "e.Routes$Tagged#value()", + "throws": [], + "varargs": false + } + ], + "modifiers": [ + "static" + ], + "origin": "project", + "typeParameters": 0, + "typeVars": [] + }, + "java.io.Serializable": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.CharSequence": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "length", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "(I)C", + "final": false, + "k": "m", + "name": "charAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isEmpty", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "(II)Ljava/lang/CharSequence;", + "final": false, + "k": "m", + "name": "subSequence", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "chars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "codePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I", + "final": false, + "k": "m", + "name": "compare", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.Comparable": { + "annotations": [], + "interfaceTypes": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "(Ljava/lang/Object;)I", + "final": false, + "k": "m", + "name": "compareTo", + "paramTypes": [ + { + "id": "T", + "kind": "typevar" + } + ], + "paramVars": [ + "c0" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 1, + "typeVarBounds": [ + [ + { + "args": [], + "id": "java.lang.Object" + } + ] + ], + "typeVars": [ + "T" + ] + }, + "java.lang.Enum": { + "annotations": [], + "interfaceTypes": [ + { + "args": [], + "id": "java.lang.constant.Constable" + }, + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Comparable" + }, + { + "args": [], + "id": "java.io.Serializable" + } + ], + "interfaces": [ + "java.lang.constant.Constable", + "java.lang.Comparable", + "java.io.Serializable" + ], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": true, + "k": "m", + "name": "name", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": true, + "k": "m", + "name": "ordinal", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": true, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": true, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/Object;", + "final": true, + "k": "m", + "name": "clone", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.CloneNotSupportedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Enum;)I", + "final": true, + "k": "m", + "name": "compareTo", + "paramTypes": [ + { + "id": "E", + "kind": "typevar" + } + ], + "paramVars": [ + "c0" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/Class;", + "final": true, + "k": "m", + "name": "getDeclaringClass", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Class" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": true, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Enum$EnumDesc" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;", + "final": false, + "k": "m", + "name": "valueOf", + "paramTypes": [ + { + "args": [ + { + "id": "T", + "kind": "typevar" + } + ], + "id": "java.lang.Class" + }, + { + "args": [], + "id": "java.lang.String" + } + ], + "paramVars": [ + "", + "" + ], + "retSelf": false, + "retType": { + "id": "T", + "kind": "typevar" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [ + [ + { + "args": [ + { + "id": "T", + "kind": "typevar" + } + ], + "id": "java.lang.Enum" + } + ] + ], + "typeVars": [ + "T" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "18" + }, + { + "kind": "boolean", + "name": "forRemoval", + "value": true + } + ] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "finalize", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/io/ObjectInputStream;)V", + "final": false, + "k": "m", + "name": "readObject", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.IOException", + "java.lang.ClassNotFoundException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": false, + "k": "m", + "name": "readObjectNoData", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.ObjectStreamException" + ], + "varargs": false, + "vis": "public" + }, + { + "annotations": [], + "desc": "Ljava/lang/String;", + "enum": false, + "final": true, + "k": "f", + "name": "name", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "I", + "enum": false, + "final": true, + "k": "f", + "name": "ordinal", + "static": false, + "vis": "private" + }, + { + "annotations": [ + { + "name": "jdk.internal.vm.annotation.Stable", + "values": [] + } + ], + "desc": "I", + "enum": false, + "final": false, + "k": "f", + "name": "hash", + "static": false, + "vis": "private" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "super": "java.lang.Object", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 1, + "typeVarBounds": [ + [ + { + "args": [ + { + "id": "E", + "kind": "typevar" + } + ], + "id": "java.lang.Enum" + } + ] + ], + "typeVars": [ + "E" + ] + }, + "java.lang.Object": { + "annotations": [], + "interfaces": [], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()Ljava/lang/Class;", + "final": true, + "k": "m", + "name": "getClass", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "kind": "wildcard" + } + ], + "id": "java.lang.Class" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()I", + "final": false, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": false, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "clone", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.CloneNotSupportedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "notify", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "()V", + "final": true, + "k": "m", + "name": "notifyAll", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)V", + "final": true, + "k": "m", + "name": "wait0", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(JI)V", + "final": true, + "k": "m", + "name": "wait", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.InterruptedException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "9" + }, + { + "kind": "boolean", + "name": "forRemoval", + "value": true + } + ] + } + ], + "desc": "()V", + "final": false, + "k": "m", + "name": "finalize", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.Throwable" + ], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.String": { + "annotations": [], + "interfaceTypes": [ + { + "args": [], + "id": "java.io.Serializable" + }, + { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.lang.Comparable" + }, + { + "args": [], + "id": "java.lang.CharSequence" + }, + { + "args": [], + "id": "java.lang.constant.Constable" + }, + { + "args": [], + "id": "java.lang.constant.ConstantDesc" + } + ], + "interfaces": [ + "java.io.Serializable", + "java.lang.Comparable", + "java.lang.CharSequence", + "java.lang.constant.Constable", + "java.lang.constant.ConstantDesc" + ], + "kind": "class", + "members": [ + { + "abstract": false, + "annotations": [], + "desc": "()V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.IntrinsicCandidate", + "values": [] + } + ], + "desc": "(Ljava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/Void;", + "final": false, + "k": "m", + "name": "rangeCheck", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([III)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "([BIII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "([BI)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIILjava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIILjava/nio/charset/Charset;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;[BII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIIZ)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringUTF8NoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringNoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "newStringNoRepl1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIZ)[B", + "final": false, + "k": "m", + "name": "safeTrim", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(IF)I", + "final": false, + "k": "m", + "name": "scale", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Ljava/nio/charset/Charset;", + "final": false, + "k": "m", + "name": "lookupCharset", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;B[B)[B", + "final": false, + "k": "m", + "name": "encode", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;B[BZ)[B", + "final": false, + "k": "m", + "name": "encodeWithEncoder", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[B", + "final": false, + "k": "m", + "name": "getBytesUTF8NoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)Z", + "final": false, + "k": "m", + "name": "isASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytesNoRepl", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytesNoRepl1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[B)[B", + "final": false, + "k": "m", + "name": "encodeASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)V", + "final": false, + "k": "m", + "name": "replaceNegatives", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[B)[B", + "final": false, + "k": "m", + "name": "encode8859_1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[BZ)[B", + "final": false, + "k": "m", + "name": "encode8859_1", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI[CII)I", + "final": false, + "k": "m", + "name": "decodeASCII", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Z", + "final": false, + "k": "m", + "name": "isNotContinuation", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)Z", + "final": false, + "k": "m", + "name": "isMalformed3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Z", + "final": false, + "k": "m", + "name": "isMalformed3_2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)Z", + "final": false, + "k": "m", + "name": "isMalformed4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Z", + "final": false, + "k": "m", + "name": "isMalformed4_2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Z", + "final": false, + "k": "m", + "name": "isMalformed4_3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)C", + "final": false, + "k": "m", + "name": "decode2", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)C", + "final": false, + "k": "m", + "name": "decode3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(IIII)I", + "final": false, + "k": "m", + "name": "decode4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BII[BIZ)I", + "final": false, + "k": "m", + "name": "decodeUTF8_UTF16", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/CharsetDecoder;[C[BII)I", + "final": false, + "k": "m", + "name": "decodeWithDecoder", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [ + "java.nio.charset.CharacterCodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)I", + "final": false, + "k": "m", + "name": "malformed3", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BI)I", + "final": false, + "k": "m", + "name": "malformed4", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "throwMalformed", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "throwMalformed", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)V", + "final": false, + "k": "m", + "name": "throwUnmappable", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "throwUnmappable", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(B[BZ)[B", + "final": false, + "k": "m", + "name": "encodeUTF8", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BZ)[B", + "final": false, + "k": "m", + "name": "encodeUTF8_UTF16", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/lang/String;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BLjava/nio/charset/Charset;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BII)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([B)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuffer;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuilder;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "length", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isEmpty", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)C", + "final": false, + "k": "m", + "name": "charAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "codePointAt", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "codePointBefore", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "codePointCount", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "offsetByCodePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II[CI)V", + "final": false, + "k": "m", + "name": "getChars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "java.lang.Deprecated", + "values": [ + { + "kind": "string", + "name": "since", + "value": "1.1" + } + ] + } + ], + "desc": "(II[BI)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.io.UnsupportedEncodingException" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/nio/charset/Charset;)[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[B", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": false, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/StringBuffer;)Z", + "final": false, + "k": "m", + "name": "contentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/AbstractStringBuilder;)Z", + "final": false, + "k": "m", + "name": "nonSyncContentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;)Z", + "final": false, + "k": "m", + "name": "contentEquals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "equalsIgnoreCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "compareTo", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "compareToIgnoreCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(ILjava/lang/String;II)Z", + "final": false, + "k": "m", + "name": "regionMatches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(ZILjava/lang/String;II)Z", + "final": false, + "k": "m", + "name": "regionMatches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)Z", + "final": false, + "k": "m", + "name": "startsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "startsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "endsWith", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;II)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BBILjava/lang/String;I)I", + "final": false, + "k": "m", + "name": "indexOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BBILjava/lang/String;I)I", + "final": false, + "k": "m", + "name": "lastIndexOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "substring", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "substring", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)Ljava/lang/CharSequence;", + "final": false, + "k": "m", + "name": "subSequence", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "concat", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(CC)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)Z", + "final": false, + "k": "m", + "name": "matches", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;)Z", + "final": false, + "k": "m", + "name": "contains", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replaceFirst", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replaceAll", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "replace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;I)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "splitWithDelimiters", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;IZ)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(CIZ)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;)[Ljava/lang/String;", + "final": false, + "k": "m", + "name": "split", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [ + { + "name": "jdk.internal.vm.annotation.ForceInline", + "values": [] + } + ], + "desc": "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "join", + "paramTypes": [ + { + "args": [], + "id": "java.lang.CharSequence" + }, + { + "args": [ + { + "extends": { + "args": [], + "id": "java.lang.CharSequence" + }, + "kind": "wildcard" + } + ], + "id": "java.lang.Iterable" + } + ], + "paramVars": [ + "", + "" + ], + "retSelf": false, + "retType": { + "args": [], + "id": "java.lang.String" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toLowerCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toLowerCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toUpperCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toUpperCase", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "trim", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "strip", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripLeading", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripTrailing", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isBlank", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/Stream;", + "final": false, + "k": "m", + "name": "lines", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.stream.Stream" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "indent", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "indexOfNonWhitespace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "lastIndexOfNonWhitespace", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "stripIndent", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/List;)I", + "final": false, + "k": "m", + "name": "outdent", + "paramTypes": [ + { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.List" + } + ], + "paramVars": [ + "" + ], + "retSelf": false, + "retType": { + "id": "int" + }, + "static": true, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "translateEscapes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/function/Function;)Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "transform", + "paramTypes": [ + { + "args": [ + { + "kind": "wildcard", + "super": { + "args": [], + "id": "java.lang.String" + } + }, + { + "extends": { + "id": "R", + "kind": "typevar" + }, + "kind": "wildcard" + } + ], + "id": "java.util.function.Function" + } + ], + "paramVars": [ + "" + ], + "retSelf": false, + "retType": { + "id": "R", + "kind": "typevar" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [ + [ + { + "args": [], + "id": "java.lang.Object" + } + ] + ], + "typeVars": [ + "R" + ], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "chars", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/stream/IntStream;", + "final": false, + "k": "m", + "name": "codePoints", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[C", + "final": false, + "k": "m", + "name": "toCharArray", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "format", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "format", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "formatted", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": true, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/Object;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CII)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "copyValueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "copyValueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Z)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(C)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(J)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(F)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(D)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOf", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "intern", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "repeat", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIII)V", + "final": false, + "k": "m", + "name": "repeatCopyRest", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIB)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BIIBI)V", + "final": false, + "k": "m", + "name": "getBytes", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([CIILjava/lang/Void;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/AbstractStringBuilder;Ljava/lang/Void;)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "([BB)V", + "final": false, + "k": "m", + "name": "\u003cinit\u003e", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()B", + "final": false, + "k": "m", + "name": "coder", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()[B", + "final": false, + "k": "m", + "name": "value", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Z", + "final": false, + "k": "m", + "name": "isLatin1", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "checkIndex", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(II)V", + "final": false, + "k": "m", + "name": "checkOffset", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)I", + "final": false, + "k": "m", + "name": "checkBoundsOffCount", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(III)V", + "final": false, + "k": "m", + "name": "checkBoundsBeginEnd", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(I)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "valueOfCodePoint", + "retSelf": false, + "static": true, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": false, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "args": [], + "id": "java.lang.String" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": false, + "annotations": [], + "desc": "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/String;", + "final": false, + "k": "m", + "name": "resolveConstantDesc", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "annotations": [ + { + "name": "jdk.internal.vm.annotation.Stable", + "values": [] + } + ], + "desc": "[B", + "enum": false, + "final": true, + "k": "f", + "name": "value", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "coder", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "I", + "enum": false, + "final": false, + "k": "f", + "name": "hash", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "desc": "Z", + "enum": false, + "final": false, + "k": "f", + "name": "hashIsZero", + "static": false, + "vis": "private" + }, + { + "annotations": [], + "constant": "-6849794470754667710", + "desc": "J", + "enum": false, + "final": true, + "k": "f", + "name": "serialVersionUID", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "desc": "Z", + "enum": false, + "final": true, + "k": "f", + "name": "COMPACT_STRINGS", + "static": true, + "vis": "package" + }, + { + "annotations": [], + "desc": "[Ljava/io/ObjectStreamField;", + "enum": false, + "final": true, + "k": "f", + "name": "serialPersistentFields", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "constant": "�", + "desc": "C", + "enum": false, + "final": true, + "k": "f", + "name": "REPL", + "static": true, + "vis": "private" + }, + { + "annotations": [], + "desc": "Ljava/util/Comparator;", + "enum": false, + "final": true, + "k": "f", + "name": "CASE_INSENSITIVE_ORDER", + "static": true, + "vis": "public" + }, + { + "annotations": [], + "constant": "0", + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "LATIN1", + "static": true, + "vis": "package" + }, + { + "annotations": [], + "constant": "1", + "desc": "B", + "enum": false, + "final": true, + "k": "f", + "name": "UTF16", + "static": true, + "vis": "package" + } + ], + "modifiers": [ + "public", + "final" + ], + "origin": "classpath", + "super": "java.lang.Object", + "superType": { + "args": [], + "id": "java.lang.Object" + }, + "typeParameters": 0, + "typeVarBounds": [], + "typeVars": [] + }, + "java.lang.annotation.Annotation": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "(Ljava/lang/Object;)Z", + "final": false, + "k": "m", + "name": "equals", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "()I", + "final": false, + "k": "m", + "name": "hashCode", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/lang/String;", + "final": false, + "k": "m", + "name": "toString", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [], + "varargs": false, + "vis": "public" + }, + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/lang/Class;", + "final": false, + "k": "m", + "name": "annotationType", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "extends": { + "args": [], + "id": "java.lang.annotation.Annotation" + }, + "kind": "wildcard" + } + ], + "id": "java.lang.Class" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.constant.Constable": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "()Ljava/util/Optional;", + "final": false, + "k": "m", + "name": "describeConstable", + "paramTypes": [], + "paramVars": [], + "retSelf": false, + "retType": { + "args": [ + { + "extends": { + "args": [], + "id": "java.lang.constant.ConstantDesc" + }, + "kind": "wildcard" + } + ], + "id": "java.util.Optional" + }, + "static": false, + "synchronized": false, + "throws": [], + "typeVarBounds": [], + "typeVars": [], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + }, + "java.lang.constant.ConstantDesc": { + "annotations": [], + "interfaces": [], + "kind": "interface", + "members": [ + { + "abstract": true, + "annotations": [], + "desc": "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", + "final": false, + "k": "m", + "name": "resolveConstantDesc", + "retSelf": false, + "static": false, + "synchronized": false, + "throws": [ + "java.lang.ReflectiveOperationException" + ], + "varargs": false, + "vis": "public" + } + ], + "modifiers": [ + "public", + "abstract" + ], + "origin": "classpath", + "typeParameters": 0, + "typeVars": [] + } +} \ No newline at end of file