Package org.eclipse.lsp4j
Class Moniker
- java.lang.Object
-
- org.eclipse.lsp4j.Moniker
-
public class Moniker extends java.lang.ObjectMoniker definition to match LSIF 0.5 moniker definition.Since 3.16.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetIdentifier()The identifier of the moniker.java.lang.StringgetKind()The moniker kind if known.java.lang.StringgetScheme()The scheme of the moniker.java.lang.StringgetUnique()The scope in which the moniker is unique.inthashCode()voidsetIdentifier(java.lang.String identifier)The identifier of the moniker.voidsetKind(java.lang.String kind)The moniker kind if known.voidsetScheme(java.lang.String scheme)The scheme of the moniker.voidsetUnique(java.lang.String unique)The scope in which the moniker is unique.java.lang.StringtoString()
-
-
-
Method Detail
-
getScheme
public java.lang.String getScheme()
The scheme of the moniker. For example tsc or .Net
-
setScheme
public void setScheme(java.lang.String scheme)
The scheme of the moniker. For example tsc or .Net
-
getIdentifier
public java.lang.String getIdentifier()
The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.
-
getUnique
public java.lang.String getUnique()
The scope in which the moniker is unique. Values are taken fromUniquenessLevel.
-
setUnique
public void setUnique(java.lang.String unique)
The scope in which the moniker is unique. Values are taken fromUniquenessLevel.
-
getKind
public java.lang.String getKind()
The moniker kind if known. Values are taken fromMonikerKind.
-
setKind
public void setKind(java.lang.String kind)
The moniker kind if known. Values are taken fromMonikerKind.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-