Skip to content

Commit d67e7cc

Browse files
authored
4.x: Remove unused code from io.helidon.codegen.classmodel.Type (helidon-io#9874)
1 parent 09029a2 commit d67e7cc

File tree

1 file changed

+1
-17
lines changed
  • codegen/class-model/src/main/java/io/helidon/codegen/classmodel

1 file changed

+1
-17
lines changed

codegen/class-model/src/main/java/io/helidon/codegen/classmodel/Type.java

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, 2024 Oracle and/or its affiliates.
2+
* Copyright (c) 2023, 2025 Oracle and/or its affiliates.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -67,22 +67,6 @@ static Type fromTypeName(TypeName typeName) {
6767

6868
abstract TypeName typeName();
6969

70-
private static String extractBoundTypeName(TypeName instance) {
71-
return instance.resolvedName();
72-
}
73-
74-
private static String calcName(TypeName instance) {
75-
String className;
76-
if (instance.enclosingNames().isEmpty()) {
77-
className = instance.className();
78-
} else {
79-
className = String.join(".", instance.enclosingNames()) + "." + instance.className();
80-
}
81-
82-
return (instance.primitive() || instance.packageName().isEmpty())
83-
? className : instance.packageName() + "." + className;
84-
}
85-
8670
abstract String fqTypeName();
8771
abstract String resolvedTypeName();
8872

0 commit comments

Comments
 (0)