panacekcz / checker-framework

Pluggable type-checking for Java
http://checkerframework.org/
Other
0 stars 0 forks source link

startsWith or endsWith in a helper method #17

Closed panacekcz closed 6 years ago

panacekcz commented 7 years ago

Refinement of string length after checking startsWith or endsWith is supported, but this check can be hidden in a helper method. Therefore, some annotation on such a method is needed so that the refinement can be done at the call site. Probably could be solved by EnsuresQualifierIf(LongerThanEq) from #11.

panacekcz commented 6 years ago

Closed in favor of kelloggm#203