private int getStyle(ScreenElement se) {
		if (se == null) {
			return -1;
		}
		String optionName = se.getStyleOptionName();
		Integer style = (Integer) cache.get(optionName);
		if (style == null) {
			style = optionsObject.getInt(optionName, -1);
			cache.put(optionName, style);
		}
		return style.intValue();
	}
Get the ScreenElement corresponding to the type of the reference.
@param p the program
@param r the reference to inspect
@return the screen element
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java