}
else {
return;
}
final MetadataParser parser;
final TypeDefinition currentType = context.getCurrentType();
if (currentType != null) {
parser = new MetadataParser(currentType);
}
else {
parser = new MetadataParser(IMetadataResolver.EMPTY);
}
final TypeReference declaringType = parser.parseTypeDescriptor("java/lang/" + jvmType.name());
final FieldReference field = parser.parseField(declaringType, fieldName, jvmType.getDescriptorPrefix());
if (currentType != null &&
node.getParent() instanceof VariableInitializer &&
node.getParent().getParent() instanceof FieldDeclaration &&
StringUtilities.equals(currentType.getInternalName(), declaringType.getInternalName())) {