JvmClassName: @NotNull, transient annotations
This commit is contained in:
@@ -80,8 +80,9 @@ public class JvmClassName {
|
|||||||
return internalName;
|
return internalName;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String descriptor;
|
private transient String descriptor;
|
||||||
|
|
||||||
|
@NotNull
|
||||||
public String getDescriptor() {
|
public String getDescriptor() {
|
||||||
if (descriptor == null) {
|
if (descriptor == null) {
|
||||||
StringBuilder sb = new StringBuilder(internalName.length() + 2);
|
StringBuilder sb = new StringBuilder(internalName.length() + 2);
|
||||||
@@ -93,8 +94,9 @@ public class JvmClassName {
|
|||||||
return descriptor;
|
return descriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Type asmType;
|
private transient Type asmType;
|
||||||
|
|
||||||
|
@NotNull
|
||||||
public Type getAsmType() {
|
public Type getAsmType() {
|
||||||
if (asmType == null) {
|
if (asmType == null) {
|
||||||
asmType = Type.getType(getDescriptor());
|
asmType = Type.getType(getDescriptor());
|
||||||
|
|||||||
Reference in New Issue
Block a user