Package com.karuslabs.utilitary.snippet
Class VariableSnippet
java.lang.Object
com.karuslabs.utilitary.snippet.Snippet
com.karuslabs.utilitary.snippet.VariableSnippet
- All Implemented Interfaces:
CharSequence
A code snippet that represents a
VariableElement
.-
Field Summary
Modifier and TypeFieldDescriptionfinal AnnotationsSnippet
The annotations.The modifiers.final Line
The name.final Line
The type. -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableSnippet
of
(VariableElement element, int column) Creates aVariableSnippet
with the givenVariableElement
.Methods inherited from class com.karuslabs.utilitary.snippet.Snippet
charAt, equals, hashCode, length, subSequence, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Field Details
-
annotations
The annotations. -
modifiers
The modifiers. -
type
The type. -
name
The name.
-
-
Method Details
-
of
Creates aVariableSnippet
with the givenVariableElement
.- Parameters:
element
- the variablecolumn
- the column- Returns:
- a
VariableSnippet
-