Sha256: d6cacf3b3344b8b218122a3cce38ecc64f12fa89e95de2a21b28e7b81454882a

Contents?: true

Size: 736 Bytes

Versions: 12

Compression:

Stored size: 736 Bytes

Contents

package org.cx4a.rsense;

import java.util.Collection;
import java.util.Collections;

import org.cx4a.rsense.util.SourceLocation;

public class FindDefinitionResult extends CodeAssistResult {
    private Collection<SourceLocation> locations = Collections.<SourceLocation>emptyList();

    public void setLocations(Collection<SourceLocation> locations) {
        this.locations = locations;
    }

    public Collection<SourceLocation> getLocations() {
        return locations;
    }

    public static FindDefinitionResult failWithException(String message, Throwable cause) {
        FindDefinitionResult result = new FindDefinitionResult();
        result.addError(new CodeAssistError(message, cause));
        return result;
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rsense-core-0.6.6 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.6.5 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.6.4 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.6.2 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.6.1 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.6.0 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.9 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.8 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.6 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.2 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.1 src/org/cx4a/rsense/FindDefinitionResult.java
rsense-core-0.5.0 src/org/cx4a/rsense/FindDefinitionResult.java