ItemPresentation () { var symbolDeclaration = getSymbolDeclaration(); if (symbolDeclaration == null) { LOG.debug("No declaration for presentation"); return this; } var symbolDeclarationPresentation = SymbolDeclarationPresentation.getFor(symbolDeclaration); if (symbolDeclarationPresentation != null) { return symbolDeclarationPresentation; } LOG.debug("No presentation for " + symbolDeclaration + " or declaring element"); return this; }