blob: a13113785c0d9f02966ad9ed8b372d608b2b56fa [file] [log] [blame]
public class StaticVariableReferenced {
private static Object example;
private static String s = "yes";
public static Object getInstance() {
if (example == null) {
example<caret> = getString(s);
}
return example
}
private static String getString(String s) {
return new String(s);
}
}