Class StringName
java.lang.Object
com.google.errorprone.refaster.StringName
- All Implemented Interfaces:
Unifiable<Name>
,Serializable
,CharSequence
,Name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int index) boolean
contentEquals
(@Nullable CharSequence cs) com.sun.tools.javac.util.Name
int
length()
static StringName
of
(CharSequence contents) subSequence
(int beginIndex, int endIndex) final String
toString()
Returns all valid unification paths (if any) from thisUnifier
that unify this withtarget
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
StringName
public StringName()
-
-
Method Details
-
of
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
length
public int length()- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
contentEquals
- Specified by:
contentEquals
in interfaceName
-
unify
-
inline
-