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