JvmClassName: @NotNull, transient annotations

This commit is contained in:
Stepan Koltsov
2012-06-08 03:39:30 +04:00
parent 3620dcab75
commit d1c566f1de
@@ -80,8 +80,9 @@ public class JvmClassName {
return internalName;
}
private String descriptor;
private transient String descriptor;
@NotNull
public String getDescriptor() {
if (descriptor == null) {
StringBuilder sb = new StringBuilder(internalName.length() + 2);
@@ -93,8 +94,9 @@ public class JvmClassName {
return descriptor;
}
private Type asmType;
private transient Type asmType;
@NotNull
public Type getAsmType() {
if (asmType == null) {
asmType = Type.getType(getDescriptor());