[Editor] Change retrieval method name for other asset generated classes
This commit is contained in:
@@ -91,7 +91,7 @@ class AssetMapCodeGenerator : CodeGenerator {
|
|||||||
)
|
)
|
||||||
.addMethod(
|
.addMethod(
|
||||||
MethodSpec
|
MethodSpec
|
||||||
.methodBuilder("get")
|
.methodBuilder("byName")
|
||||||
.addModifiers(Modifier.PUBLIC, Modifier.FINAL, Modifier.STATIC)
|
.addModifiers(Modifier.PUBLIC, Modifier.FINAL, Modifier.STATIC)
|
||||||
.returns(className)
|
.returns(className)
|
||||||
.addParameter(TypeName.get(String::class.java), "name")
|
.addParameter(TypeName.get(String::class.java), "name")
|
||||||
|
|||||||
Reference in New Issue
Block a user