Class Structurizer
java.lang.Object
org.immutables.value.processor.encode.Structurizer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classprivate final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableSet<String> private final com.google.common.collect.PeekingIterator<Code.Term> private final Structurizer.WhitespaceEnabler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableSet<String> private voidblock(Structurizer.Statement.Builder builder, boolean classDecl) private voiddoCollectMatching(List<Code.Term> accumulator, String start, String end) private voidparseReturnType(List<Code.Term> signature) private static voidprivate static voidremoveTillMatching(Deque<Code.Term> terms, String begin, String end) private booleansignature(Structurizer.Statement.Builder builder) private Structurizer.Statement(package private) List<Structurizer.Statement>
-
Field Details
-
modifiers
-
terms
-
whitespaces
-
-
Constructor Details
-
Structurizer
-
-
Method Details
-
structurize
List<Structurizer.Statement> structurize() -
statement
-
collectUntilMatching
-
doCollectMatching
-
expressionUpToSemicolon
-
block
-
signature
-
parseReturnType
-
removeCommentsAndWhitespace
-
removeTillMatching
-
allModifiers
-