Minor, delete useless methods from NameResolver
This commit is contained in:
+1
-12
@@ -53,16 +53,6 @@ public class NameResolver {
|
|||||||
this.qualifiedNames = qualifiedNames;
|
this.qualifiedNames = qualifiedNames;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
|
||||||
public ProtoBuf.StringTable getStringTable() {
|
|
||||||
return strings;
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
|
||||||
public ProtoBuf.QualifiedNameTable getQualifiedNameTable() {
|
|
||||||
return qualifiedNames;
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public String getString(int index) {
|
public String getString(int index) {
|
||||||
return strings.getString(index);
|
return strings.getString(index);
|
||||||
@@ -70,8 +60,7 @@ public class NameResolver {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public Name getName(int index) {
|
public Name getName(int index) {
|
||||||
String name = strings.getString(index);
|
return Name.guess(strings.getString(index));
|
||||||
return Name.guess(name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
Reference in New Issue
Block a user