Package org.sonar.java.se
Class Flow
- java.lang.Object
-
- org.sonar.java.se.Flow
-
public class Flow extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Flow.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Flow.Builder
builder()
List<JavaFileScannerContext.Location>
elements()
static Flow
empty()
boolean
equals(Object obj)
Stream<JavaFileScannerContext.Location>
firstFlowLocation()
int
hashCode()
boolean
isEmpty()
boolean
isNonExceptional()
static Flow
of(Flow currentFlow)
static Flow
of(JavaFileScannerContext.Location location)
Flow
reverse()
Stream<JavaFileScannerContext.Location>
stream()
-
-
-
Method Detail
-
isNonExceptional
public boolean isNonExceptional()
-
reverse
public Flow reverse()
-
stream
public Stream<JavaFileScannerContext.Location> stream()
-
firstFlowLocation
public Stream<JavaFileScannerContext.Location> firstFlowLocation()
-
elements
public List<JavaFileScannerContext.Location> elements()
-
isEmpty
public boolean isEmpty()
-
empty
public static Flow empty()
-
of
public static Flow of(JavaFileScannerContext.Location location)
-
builder
public static Flow.Builder builder()
-
-