public @Nonnull
    IResource getMarkerTarget() {
        IResource res = getCorespondingResource();
        if (res != null) {
            return res;
        }
        if (javaElt != null) {
            IResource resource2 = javaElt.getResource();
            if (resource2 != null) {
                return resource2;
            }
        }
        // probably not the best solution, but this should always work
        return project;
    }
public @ Nonnull IResource getMarkerTarget ( ) { IResource res = getCorespondingResource ( ) ; if ( res != null ) { return res ; } if ( javaElt != null ) { IResource resource2 = javaElt . getResource ( ) ; if ( resource2 != null ) { return resource2 ; } } return project ; }
@return the resource which can be used to attach markers found for this
item. This resource must exist, and the return value can not be
null. The return value can be absolutely unrelated to the
{@link #getCorespondingResource()}.